DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th May 2011
Pjoter's Avatar
Pjoter Pjoter is offline
Shell Scout
 
Join Date: Sep 2008
Posts: 92
Thanked 7 Times in 7 Posts
Default Java plug-ins & NetBSD

Zdravo Oko !

Quote:
Originally Posted by Oko View Post
I am sorry to hear that.
Simply I needed something that NetBSD couldn't bring me (full support of USB audio card UA25, neither any BSD supports that well). And good java plugin (working). It doesn't mean I don't miss NetBSD- let's see what is cooking in 6.0.


Quote:
Where did this nonsense come from?
If Kicad is in FreeBSD ports then my statement is not a nonsense I don't want a flamewar

Quote:
Are you working now as a Clairvoyant for the Polish secret service?
I don't have such abilities :

Pjoter
Reply With Quote
  #2   (View Single Post)  
Old 20th May 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 733
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by Pjoter View Post
Zdravo Oko !
Czesc Pjoter!

Quote:
Originally Posted by Pjoter View Post
Simply I needed something that NetBSD couldn't bring me (full support of USB audio card UA25, neither any BSD supports that well). And good java plugin (working). It doesn't mean I don't miss NetBSD- let's see what is cooking in 6.0.
Do you use Sun Java Plug-in or Iced Tea? NetBSD was the first one among BSDs to have Iced Tea ported. I know that FreeBSD also got it. There has been some talk about that in OpenBSD community but nothing yet. Are you saying that Java Iced Tea on NetBSD is not as good as on Linux? What about Sun's via Linux emulation or native? OpenBSD Sun version was a bit outdated on OpenBSD (plug-in) but rock solid when I needed. On the another hand I am not serious Java consumer.


Quote:
Originally Posted by Pjoter View Post
If Kicad is in FreeBSD ports then my statement is not a nonsense I don't want a flamewar
Pjoter, I am a Serb. I am alway ready for a war It was just funny that you made a very strongly worded recommendation for FreeBSD over OpenBSD without
really knowing what the needs of the guy are. If it is just Kicad I am having hard time as a former FreeBSD and current OpenBSD user to see why would he choose the first one over the second. The OpenBSD port has just been updated to the very latest version and in my experience OpenBSD is much more stable than FreeBSD. But then I am a bit biased

P.S. There is that Romanian dude on this forum who uses NetBSD. Maybe he can help with Kicad port for NetBSD. I completely forgot about him.

Last edited by Oko; 20th May 2011 at 04:43 PM.
Reply With Quote
  #3   (View Single Post)  
Old 20th May 2011
Pjoter's Avatar
Pjoter Pjoter is offline
Shell Scout
 
Join Date: Sep 2008
Posts: 92
Thanked 7 Times in 7 Posts
Default

Quote:
Originally Posted by Oko View Post
Czesc Pjoter!


Do you use Sun Java Plug-in or Iced Tea? NetBSD was the first one among BSDs to have Iced Tea ported. I know that FreeBSD also got it. There has been some talk about that in OpenBSD community but nothing yet. Are you saying that Java Iced Tea on NetBSD is not as good as on Linux? What about Sun's via Linux emulation or native? OpenBSD Sun version was a bit outdated on OpenBSD (plug-in) but rock solid when I needed. On the another hand I am not serious Java consumer.

I tried to use Iced Tea plugin and Sun via Linux emulation- it didn't work- I was even posting that to pkgsrc mailing list. Pity but I must have working Sun java plugin as the applet is made to use only Sun (openjdk is not yet compatibile with Sun Java and therefore the problems). Nevermind- this can wait.

Quote:
Pjoter, I am a Serb. I am alway ready for a war
And I am Polish Oko- this means something

Quote:
t was just funny that you made a very strongly worded recommendation for FreeBSD over OpenBSD without
Yes but without intention to flamewar etc. Simply FreeBSD gives a better and more support- the same for packages- this is obvious.


Let's see how it goes with port creation.

Here is an example how to create port from scratch- frankly, if you read Makefile, options.mk etc from some working port you should be able to understand how to create a port.

http://www.netbsd.org/docs/pkgsrc/cr...l#creating.nvu

Please see general pkgsrc guide:

http://www.netbsd.org/docs/pkgsrc/users-guide.html


There is also pkgsrc available in pdf:

http://www.netbsd.org/docs/pkgsrc/pkgsrc.pdf

For current sources please always go here (aslo you can find packages for different pkgsrc/NetBSD version):

http://nyftp.netbsd.org/pub/

I think this is all how can I help you.

Good luck and if you succeed post your port to pkgsrc wip:

http://pkgsrc-wip.sourceforge.net/

Good luck !

Pjoter.
Reply With Quote
  #4   (View Single Post)  
Old 20th May 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 733
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by Pjoter View Post
And I am Polish Oko- this means something
Pjoter.
It means that you are blessed with some of the most beautiful women on the world. I almost married two (not at the same time of course) of them before settling down for a Russian girl It seems now that happened five lifetimes ago but it was only 15 years ago.

P.S. The Sun Java plug-in is rock stable on OpenBSD but then that lack of support must be a killer deal
Reply With Quote
  #5   (View Single Post)  
Old 21st May 2011
Pjoter's Avatar
Pjoter Pjoter is offline
Shell Scout
 
Join Date: Sep 2008
Posts: 92
Thanked 7 Times in 7 Posts
Default

Women are beautiful

Are you able to test on OpenBSD that:

https://fx2.oanda.com/cgi-bin/java/test.pl

And maybe the demo account:

https://fxtrade.oanda.com/login

User: BamBam1234
Passwd: BamBam1234

You should see applet loading and some charts etc. (the account can be locked yet).

Thanks !

Piotr.
Reply With Quote
  #6   (View Single Post)  
Old 21st May 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 733
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by Pjoter View Post

Are you able to test on OpenBSD that:

https://fx2.oanda.com/cgi-bin/java/test.pl

And maybe the demo account:

https://fxtrade.oanda.com/login

User: BamBam1234
Passwd: BamBam1234

You should see applet loading and some charts etc. (the account can be locked yet).

Thanks !

Piotr.
At the moment I do not have Java installed on any machine. Let see if somebody else here have it. If not I will compile on Monday and test it for you. Is that OK?

Oko
Reply With Quote
  #7   (View Single Post)  
Old 21st May 2011
Pjoter's Avatar
Pjoter Pjoter is offline
Shell Scout
 
Join Date: Sep 2008
Posts: 92
Thanked 7 Times in 7 Posts
Default

Hvala Oko !

Reply With Quote
  #8   (View Single Post)  
Old 21st May 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 733
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by Pjoter View Post
Hvala Oko !

Actually since my wife took the kids to cinema I have some time to burn. I am fetching files which needs for built and I just installed firefox35 (the only one supporting Java). I will let you know how it goes in an hour or two
unless I have problem with stupid xalan file which GNU people often change.

This is how to in Serbian. If you want to waist some time you can try the build yourself (I know that you can run OpenBSD in virtual machine on Linux).

http://www.bsdserbia.org/dokumentacija/doku.php/java
Reply With Quote
  #9   (View Single Post)  
Old 21st May 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 733
Thanked 36 Times in 32 Posts
Default

I just checked Firfox35 and it is OK. Also a great news xalan is OK. I am building JDK-1.5 which contain plug-ins for the browser as we speak. The plug-ins are in jre-1.5 but you need to build whole JDK unfortunately. I will test thing and more over post just binaries for JRE-1.5 so that you do not have to mess with this. The only problem is that this machine is running OpenBSD 4.8 not current 4.9 release. I am waiting for 4.9 current to turn into 5.0 beta and use that one next year. There are too many packages that I need that got updated in the past month or so. So as long as you are willing to use OpenBSD 4.8 you can have this probably in a next two hours.
Reply With Quote
Old 21st May 2011
Pjoter's Avatar
Pjoter Pjoter is offline
Shell Scout
 
Join Date: Sep 2008
Posts: 92
Thanked 7 Times in 7 Posts
Default

Hi Oko,


virtualbox is a good solution I will try that too. And thanks for helping.

P.S.

I saw your photo on bsdserbia. Got two daughters?

Piotr.
Reply With Quote
Old 21st May 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 733
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by Pjoter View Post
Hi Oko,


virtualbox is a good solution I will try that too. And thanks for helping.
Wait until I build this and test. It should not take very long. It is core two duo with 3 GB of RAM (Java requires i386 as OpenBSD amd64 is honest 64 bit operating system and can NOT run i386 like FreeBSD for example).


Quote:
Originally Posted by Pjoter View Post
P.S.

I saw your photo on bsdserbia. Got two daughters?

Piotr.
Yes, I have They are the only thing I have on this world. The photo was taken last year down in Savannah Georgia one oldest U.S. port cities (1600 something). I have a picture of the older one when she was four months old messing up with FreeBSD.
Reply With Quote
Old 22nd May 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 733
Thanked 36 Times in 32 Posts
Default

Pjotr,

Here is your test

Code:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-=-=- If you have any problems, please email the text below   -=-=-
-=-=-                  to tsbugs@oanda.com                    -=-=-
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
INF: 20:07:02 GetProperties(): java.version: 1.5.0_16-p9

INF: 20:07:02 GetProperties(): java.vendor: Sun Microsystems Inc.

INF: 20:07:02 GetProperties(): os.name: OpenBSD

INF: 20:07:02 GetProperties(): os.arch: i386

INF: 20:07:02 GetProperties(): os.version: 4.8

INF: 20:07:02 GetProperties(): browser: -no value-

INF: 20:07:14 
TEST #1: (oanda controls)

***: 20:07:14 Inline.getImage(): can't find: images/info.gif

INF: 20:07:14 TEST #1: completed successfully

INF: 20:07:20 
TEST #2: (standard network connection)

INF: 20:07:20 TEST #2: creating connection

INF: 20:07:20 TEST #2: opening connection

INF: 20:07:20 TEST #2: opening secure connection

INF: 20:07:21 TEST #2: closing secure connection

INF: 20:07:21 TEST #2: closing connection

INF: 20:07:21 TEST #2: completed successfully

INF: 20:07:24 
TEST #3: (proxy network connection)

INF: 20:07:24 TEST #3: creating proxy connection

INF: 20:07:24 TEST #3: opening proxy connection

INF: 20:07:24 TEST #3: opening secure proxy connection

INF: 20:07:24 TEST #3: closing secure proxy connection

INF: 20:07:24 TEST #3: closing proxy connection

INF: 20:07:24 TEST #3: completed successfully

INF: 20:07:27 
TEST #4: (standard login)

INF: 20:07:27 TEST #4: logging in...

***: 20:07:28 Transaction.doLogin(): response not OK, returning null

***: 20:07:28 ServerModel.connect(): account == null

***: 20:07:28 TEST #4: *** failed due to: >Server refused login and password.<

***: 20:07:28 TEST #4: *** logging out...

***: 20:07:28 TEST #4: *** logged out...

INF: 20:07:33 
TEST #5: (proxy login)

INF: 20:07:33 TEST #5: logging in...

***: 20:07:34 Transaction.doLogin(): response not OK, returning null

***: 20:07:34 ServerModel.connect(): account == null

***: 20:07:34 TEST #5: *** failed due to: >Server refused login and password.<

***: 20:07:34 TEST #5: *** logging out...

***: 20:07:34 TEST #5: *** logged out...

I can also successfully log into account with the given credentials

Now this is what I was using to do so

Code:
$uname -a
OpenBSD oko.bagdala2.net 4.8 GENERIC.MP#361 i386
$ ls /var/db/pkg |grep firefox*
firefox35-3.5.11
$ ls /var/db/pkg |grep jde*
jdk-1.5.0.16p2
You do not need jdk-1.5 to have plug-ins. It is enough to have jre-1.5. You can download both jdk-1.5.0.16p2 and jre-1.5.0.16p2 binaries from

http://spots.aug.edu/ppunosev/jdk-1.5.0.16p2.tgz
http://spots.aug.edu/ppunosev/jre-1.5.0.16p2.tgz

One more time. You just need jre-1.5.0.16p2.tgz, firefox35 (make sure it is not 36) and do a soft link

Code:
ln -s /usr/local/jdk-1.5.0/jre/plugin/i386/ns7/libjavaplugin_oji.so ~/mozilla/plugins
Do not verbose copy unless you installed JDK

Last edited by Oko; 22nd May 2011 at 12:38 AM.
Reply With Quote
Old 22nd May 2011
Oko's Avatar
Oko Oko is offline
Fsck Surgeon
 
Join Date: May 2008
Location: Kosovo, Serbia
Posts: 733
Thanked 36 Times in 32 Posts
Default

Quote:
Originally Posted by Pjoter View Post
Zdravo Oko !

Simply I needed something that NetBSD couldn't bring me (full support of USB audio card UA25, neither any BSD supports that well).

Pjoter
Oh... I forgot to say. Your audio card is fully supported by OpenBSD 4.8 and above
Reply With Quote
Old 22nd May 2011
Pjoter's Avatar
Pjoter Pjoter is offline
Shell Scout
 
Join Date: Sep 2008
Posts: 92
Thanked 7 Times in 7 Posts
Default

Hi Oko,

thanks- great news.

The UA25 is supported but only with limited usability- ie I cannot record or play with 96/24 mode- so the card is offering limited quality.

But thanks for everything- I will think about OpenBSD

Piotr.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
USB driver bug exposed as "Linux plug&pwn" J65nko News 1 9th March 2011 12:38 AM
Firefox 3.6.4 beta isolates crashing plug-ins J65nko News 0 21st April 2010 05:31 PM
State of Native Java in NetBSD? shep NetBSD Package System (pkgsrc) 1 2nd June 2009 08:13 AM
Java JDK Oko OpenBSD Packages and Ports 10 13th July 2008 07:39 PM


All times are GMT. The time now is 09:55 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick