java/icetea-web broken?

2013-07-03 Thread Aryeh Friedman
I install it (on a machine that it used to work on until I had to
reinstall FB) and there is none of the normal command line tools and
when I attempt to open a jnlp file in ff (21.0) java/icetea-web (1.4)
it goes into an infinite loop of opening new blank tabs the site
in question works perfectly on pre-21.0 and/or 1.4 and on all other
OS's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: A serious flaw in Java

2013-01-11 Thread Polytropon
On Fri, 11 Jan 2013 07:50:07 + (UTC), jb wrote:
 http://www.kb.cert.org/vuls/id/625617

http://arstechnica.com/security/2013/01/critical-java-zero-day-bug-is-being-massively-exploited-in-the-wild/



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


A serious flaw in Java

2013-01-10 Thread jb
http://www.kb.cert.org/vuls/id/625617
jb


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


LibreOffice with Java?

2012-07-16 Thread Walter Hurry
I note that in the Makefile for libreoffice
(/usr/ports/editors/libreoffice/Makefile) it says:

LibreOffice works only with Java 6

But I have Java 7. Is this a problem?

$ java -version
openjdk version 1.7.0_04
OpenJDK Runtime Environment (build 1.7.0_04-b22)
OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)
$

LibreOffice seems to install (from the port) and run OK.
This is 9.0-RELEASE on amd64.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/local/java/jboss5 fails to build

2012-04-21 Thread Horst Leitenmueller
Hi

can you please try

with patch -p1  patch.pom

pom.xml.orig is only the copy to keep the original pom.file...

br horst

here the complete pom file



On 20.04.2012, at 12:17, vermaden wrote:

 Hi,
 
 I am not able to apply the patch ...
 
 
 
 mysql# pwd
 /usr/ports/java/jboss5
 mysql# make clean
 ===  Cleaning for jboss-5.1.0.GA_1,1
 mysql# make extract
 ===  License check disabled, port has not defined LICENSE
 ===  Extracting for jboss-5.1.0.GA_1,1
 = SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz.
 mysql# cd work/jboss-5.1.0.GA-src/
 mysql# patch  /home/vermaden/patch.pom
 Hmm...  Looks like a context diff to me...
 The text leading up to this was:
 --
 |*** pom.xml.orig   Thu Apr 19 18:29:15 2012
 |--- pom.xmlThu Apr 19 20:40:37 2012
 --
 Patching file pom.xml using Plan A...
 (Fascinating--this is really a new-style context diff but without
 the telltale extra asterisks on the *** line that usually indicate
 the new style...)
 Hunk #1 failed at 280.
 Hunk #2 failed at 302.
 Hunk #3 failed at 362.
 3 out of 3 hunks failed--saving rejects to pom.xml.rej
 done
 
 
 ---
 
 
 mysql# pwd
 /usr/ports/java/jboss5
 mysql# make clean
 ===  Cleaning for jboss-5.1.0.GA_1,1
 mysql# make patch
 ===  License check disabled, port has not defined LICENSE
 ===  Extracting for jboss-5.1.0.GA_1,1
 = SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz.
 ===  Patching for jboss-5.1.0.GA_1,1
 ===  Applying FreeBSD patches for jboss-5.1.0.GA_1,1
 mysql# cd work/jboss-5.1.0.GA-src/
 mysql# patch  /home/vermaden/patch.pom 
 Hmm...  Looks like a context diff to me...
 The text leading up to this was:
 --
 |*** pom.xml.orig   Thu Apr 19 18:29:15 2012
 |--- pom.xmlThu Apr 19 20:40:37 2012
 --
 Patching file pom.xml using Plan A...
 (Fascinating--this is really a new-style context diff but without
 the telltale extra asterisks on the *** line that usually indicate
 the new style...)
 Hunk #1 failed at 280.
 Hunk #2 failed at 302.
 Hunk #3 failed at 362.
 3 out of 3 hunks failed--saving rejects to pom.xml.rej
 done
 
 
 Could You please attach the whole modified working POM.XML? ;)
 
 Thanks,
 veramden
 
 
 Horst Leitenmueller horst.leitenmuel...@liwest.at pisze:
 hi vermaden,
 
 here is the howto and all needed changes...
 
 
 installation is done on a 8.2-RELEASE-p6 FreeBSD amd64 with openjdk6
 
 what is missing is a settings.xml which must be located in the home 
 directory of root, or the one who is installing ports
 
 /root/.m2/settings.xml
 
 file is attached in this file the depricated jboss dependencies are kept; 
 otherwise you will not be able to build
 
 second thing is i removed/changed things from the pom.xml file in the 
 portbuild/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/
 
 there are changes for 
 
 and 
 
 
 
 the entries glassfish i have removed 
 http://maven.glassfish.org/content/groups/glassfish they just deliver not 
 working response
 
 how to patch, i run make install in /usr/ports/java/jboss5
 when jboss-src is downloaded and extracted i interrupted the build
 
 patched the pom.xml   (problem was, i thougth install will work, but it was 
 running and downloading garbage from glassfish repo...)
 rm -rf /root/.m2/repository/ helps also if some garbage is collected
 
 jboss-team has announced there will be a repo change already some time ago, 
 but i also did not recognize it :-) until it was turned off...
 
 for the portmaintainer ? how to handle the settings.xml ? the other things 
 can be patched…
 
 
 and settings.xml
 
 
 
 
 -- 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 ...
 ___
 freebsd-j...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-java
 To unsubscribe, send any mail to freebsd-java-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/local/java/jboss5 fails to build

2012-04-21 Thread vermaden
Hi, it worked! :) I copied the attached pom.xml file and also 
removed/root/.m2/repository dir and jboss5 built beautifully ;)Unfortunately I 
did not get any response from JBOSScommunity :/ Regards and thanks 
again,vermadennbsp; Horst Leitenmueller 
lt;horst.leitenmuel...@liwest.atgt; pisze:Hican you please trywithnbsp;patch 
-p1 lt; patch.pompom.xml.orig is only the copy to keep the original 
pom.file...br horsthere the complete pom file...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/local/java/jboss5 fails to build

2012-04-20 Thread vermaden
Hi,

I am not able to apply the patch ...



mysql# pwd
/usr/ports/java/jboss5
mysql# make clean
===  Cleaning for jboss-5.1.0.GA_1,1
mysql# make extract
===  License check disabled, port has not defined LICENSE
===  Extracting for jboss-5.1.0.GA_1,1
= SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz.
mysql# cd work/jboss-5.1.0.GA-src/
mysql# patch  /home/vermaden/patch.pom
Hmm...  Looks like a context diff to me...
The text leading up to this was:
--
|*** pom.xml.orig   Thu Apr 19 18:29:15 2012
|--- pom.xmlThu Apr 19 20:40:37 2012
--
Patching file pom.xml using Plan A...
(Fascinating--this is really a new-style context diff but without
the telltale extra asterisks on the *** line that usually indicate
the new style...)
Hunk #1 failed at 280.
Hunk #2 failed at 302.
Hunk #3 failed at 362.
3 out of 3 hunks failed--saving rejects to pom.xml.rej
done


---


mysql# pwd
/usr/ports/java/jboss5
mysql# make clean
===  Cleaning for jboss-5.1.0.GA_1,1
mysql# make patch
===  License check disabled, port has not defined LICENSE
===  Extracting for jboss-5.1.0.GA_1,1
= SHA256 Checksum OK for jboss-5.1.0.GA-src.tar.gz.
===  Patching for jboss-5.1.0.GA_1,1
===  Applying FreeBSD patches for jboss-5.1.0.GA_1,1
mysql# cd work/jboss-5.1.0.GA-src/
mysql# patch  /home/vermaden/patch.pom 
Hmm...  Looks like a context diff to me...
The text leading up to this was:
--
|*** pom.xml.orig   Thu Apr 19 18:29:15 2012
|--- pom.xmlThu Apr 19 20:40:37 2012
--
Patching file pom.xml using Plan A...
(Fascinating--this is really a new-style context diff but without
the telltale extra asterisks on the *** line that usually indicate
the new style...)
Hunk #1 failed at 280.
Hunk #2 failed at 302.
Hunk #3 failed at 362.
3 out of 3 hunks failed--saving rejects to pom.xml.rej
done


Could You please attach the whole modified working POM.XML? ;)

Thanks,
veramden


Horst Leitenmueller horst.leitenmuel...@liwest.at pisze:
 hi vermaden,
 
 here is the howto and all needed changes...
 
 
 installation is done on a 8.2-RELEASE-p6 FreeBSD amd64 with openjdk6
 
 what is missing is a settings.xml which must be located in the home directory 
 of root, or the one who is installing ports
 
 /root/.m2/settings.xml
 
 file is attached in this file the depricated jboss dependencies are kept; 
 otherwise you will not be able to build
 
 second thing is i removed/changed things from the pom.xml file in the 
 portbuild/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/
 
 there are changes for 
   
 and 
 
 
 
 the entries glassfish i have removed 
 http://maven.glassfish.org/content/groups/glassfish they just deliver not 
 working response
 
 how to patch, i run make install in /usr/ports/java/jboss5
 when jboss-src is downloaded and extracted i interrupted the build
 
 patched the pom.xml   (problem was, i thougth install will work, but it was 
 running and downloading garbage from glassfish repo...)
 rm -rf /root/.m2/repository/ helps also if some garbage is collected
 
 jboss-team has announced there will be a repo change already some time ago, 
 but i also did not recognize it :-) until it was turned off...
 
 for the portmaintainer ? how to handle the settings.xml ? the other things 
 can be patched…
 
 
 and settings.xml
 



-- 








































...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/local/java/jboss5 fails to build

2012-04-19 Thread vermaden
Hi and thank You very much ;)

I will try this process tomorrow at 9.0 amd64.

Also, about the provided HOWTO ...
 how to patch, i run make install in /usr/ports/java/jboss5
 when jboss-src is downloaded and extracted i interrupted the build

This should be possible by typing *make extract* instead? ;p

Regards,
vermaden

Horst Leitenmueller horst.leitenmuel...@liwest.at pisze:
 hi vermaden,
 
 here is the howto and all needed changes...
 
 
 installation is done on a 8.2-RELEASE-p6 FreeBSD amd64 with openjdk6
 
 what is missing is a settings.xml which must be located in the home directory 
 of root, or the one who is installing ports
 
 /root/.m2/settings.xml
 
 file is attached in this file the depricated jboss dependencies are kept; 
 otherwise you will not be able to build
 
 second thing is i removed/changed things from the pom.xml file in the 
 portbuild/usr/ports/java/jboss5/work/jboss-5.1.0.GA-src/
 
 there are changes for 
   
 and 
 
 
 
 the entries glassfish i have removed 
 http://maven.glassfish.org/content/groups/glassfish they just deliver not 
 working response
 
 how to patch, i run make install in /usr/ports/java/jboss5
 when jboss-src is downloaded and extracted i interrupted the build
 
 patched the pom.xml   (problem was, i thougth install will work, but it was 
 running and downloading garbage from glassfish repo...)
 rm -rf /root/.m2/repository/ helps also if some garbage is collected
 
 jboss-team has announced there will be a repo change already some time ago, 
 but i also did not recognize it :-) until it was turned off...
 
 for the portmaintainer ? how to handle the settings.xml ? the other things 
 can be patched…
 
 
 and settings.xml
 



-- 








































...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/local/java/jboss5 fails to build

2012-04-18 Thread vermaden
hi,

I do not pressure to use the Ports version I just need a working
JBOSS5 on FreeBSD, I can download jboss-5.1.0.GA.zip from here

http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/

But will it be fully functional on FreeBSD?

Regards,
vermaden

Jason Helfman j...@freebsd.org pisze:
 On Tue, Apr 17, 2012 at 08:34:55PM +, vermaden thus spake:
 Hi,
 
 I have the same problem as described here:
 http://freebsd.org/cgi/query-pr.cgi?pr=166986
 
 The package of JBOSS5 is also not available, any suggestions?
 
 Any help appreciated.
 
 Regards,
 vermaden
 
 I've dealt somewhat with the maven repositories, and this is nothing really
 that can be prevented in the portstree.  Working with the vendor in
 releasing a distribution file of the maven repository at the time of the
 release of the code that is required for code to build against is something
 that can be done to prevent this. I worked with the vendor in doing this for
 databases/jasperserver.
 
 This really is an issue with the remote repository, and needs to be fixed
 with the owners of that maven code repository.
 
 I suggest in working with the vendor to fix the repository, and it would be
 great if you can convince them to release a snapshot of the maven repository
 that the code was used to build from for distribution purposes. That way, it
 will always be build-able.
 
 Even if they fix it today, someone could break it soon afterwards.
 
 -jgh
 
 -- 
 Jason Helfman | FreeBSD Committer
 j...@freebsd.org   | http://people.freebsd.org/~jgh
 



-- 








































...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/local/java/jboss5 fails to build

2012-04-18 Thread Jason Helfman

On Wed, Apr 18, 2012 at 07:42:55AM +, vermaden thus spake:

hi,

I do not pressure to use the Ports version I just need a working
JBOSS5 on FreeBSD, I can download jboss-5.1.0.GA.zip from here

http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/

But will it be fully functional on FreeBSD?

Regards,
vermaden


I can't answer if it will be functional or not on FreeBSD until it is
successfully installed, however it being in the portstree gives me some
indication that it did work at one time. This is a vendor issue though, and
I would urge you to contact them regarding their maven repository issue with
the error you are receiving.

I would be happy to look into this further after they are able to diagnose
the issue.

Thanks!
-jgh

--
Jason Helfman | FreeBSD Committer
j...@freebsd.org   | http://people.freebsd.org/~jgh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/usr/local/java/jboss5 fails to build

2012-04-17 Thread vermaden
Hi,

I have the same problem as described here:
http://freebsd.org/cgi/query-pr.cgi?pr=166986

The package of JBOSS5 is also not available, any suggestions?

Any help appreciated.

Regards,
vermaden




































...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /usr/local/java/jboss5 fails to build

2012-04-17 Thread Jason Helfman

On Tue, Apr 17, 2012 at 08:34:55PM +, vermaden thus spake:

Hi,

I have the same problem as described here:
http://freebsd.org/cgi/query-pr.cgi?pr=166986

The package of JBOSS5 is also not available, any suggestions?

Any help appreciated.

Regards,
vermaden


I've dealt somewhat with the maven repositories, and this is nothing really
that can be prevented in the portstree.  Working with the vendor in
releasing a distribution file of the maven repository at the time of the
release of the code that is required for code to build against is something
that can be done to prevent this. I worked with the vendor in doing this for
databases/jasperserver.

This really is an issue with the remote repository, and needs to be fixed
with the owners of that maven code repository.

I suggest in working with the vendor to fix the repository, and it would be
great if you can convince them to release a snapshot of the maven repository
that the code was used to build from for distribution purposes. That way, it
will always be build-able.

Even if they fix it today, someone could break it soon afterwards.

-jgh

--
Jason Helfman | FreeBSD Committer
j...@freebsd.org   | http://people.freebsd.org/~jgh
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Java and the system tray

2012-03-24 Thread Da Rock
General question: I'm trying to get Jitsi running with video (please, no 
suggestions on other apps - I know and tested them from ports), and 
while that is not going so well my most annoying bug bear is when I 
click the close button on the title bar it disappears! Heaven forbid I 
forget to actually use file-quit instead :/


Java doesn't like the system tray (IceWM - java spits a whole lot of 
error msgs about failing to initialise the java.awt.systemtray), and I 
cannot get Jitsi back after that. Does anyone know how to get Java to 
play nice? Or how to get the WM it deal with it properly?


Cheers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Where is Java plugin web option on openjdk6? an issue?

2011-07-25 Thread Alvaro Castillo
Good morning, I cannot see IcedTea web plugin option to compile on
/usr/ports/java/openjdk6. an issue?
http://www.freshports.org/java/openjdk6/

This option is not set enable on default because
/usr/local/openjdk6/jre/lib/IcedTeaPlugin.so isn't exists.

Any suggestions? thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where is Java plugin web option on openjdk6? an issue?

2011-07-25 Thread Alvaro Castillo
On Mon, Jul 25, 2011 at 7:41 AM, Alvaro Castillo gobl...@gmail.com wrote:

 Good morning, I cannot see IcedTea web plugin option to compile on
 /usr/ports/java/openjdk6. an issue?
 http://www.freshports.org/java/openjdk6/

 This option is not set enable on default because
 /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so isn't exists.

 Any suggestions? thanks


No problem I see it! rebuild the port with ICEDTEA option first, then
install a new port java/icedtea-web with PLUGIN option (default)

Greets!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


what to do about missing Flash and missing Java

2011-07-24 Thread Henry Olyer
I love FreeBSD, (and though years ago I was a Slackware user,) I much prefer
the BSD's.  But guy's, we really have to solve these problems.

So here it is, I just installed 8.2 and need the latest Flash.  What's the
right procedure here, please.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: what to do about missing Flash and missing Java

2011-07-24 Thread Mark Felder
On Sun, 24 Jul 2011 19:22:54 -0500, Henry Olyer henry.ol...@gmail.com  
wrote:




So here it is, I just installed 8.2 and need the latest Flash.  What's  
the

right procedure here, please.


Java is not a problem and non-native flash has worked without issues here  
for a very long time. In fact, it's less problematic than actually running  
the native linux version on linux in my opinion.


The handbook has everything you need to know:

http://www.freebsd.org/doc/handbook/desktop-browsers.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


info about java ide

2011-05-24 Thread Jamie Paul Griffin
Hello

I need to install a Java ide and I'm looking for advice about which jdk 
component might be best to use with it. I was thinking about using netbeans so 
would I need to use the sun-linux-jdk16 for that or could I use openjdk 
instead. Perhaps diablo-jdk16 would be better, I guess I'd need that to 
actually build the sun version anyway wouldn't I?

Any help would be great. 

Jamie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: info about java ide

2011-05-24 Thread Patrick Lamaiziere
Le Tue, 24 May 2011 08:20:45 +0100,
Jamie Paul Griffin grif...@gnix.co.uk a écrit :

Hello,

 I need to install a Java ide and I'm looking for advice about which
 jdk component might be best to use with it. I was thinking about
 using netbeans so would I need to use the sun-linux-jdk16 for that or
 could I use openjdk instead.

I use netbeans with openjdk6 or the sun/oracle version.
That works fine, except the profiler which is not available on FreeBSD.

 Perhaps diablo-jdk16 would be better, I
 guess I'd need that to actually build the sun version anyway wouldn't
 I?

Yes you need java to build java.

If you build java with IPv6 you may have problem with the subversion
module in netbeans, you have to specify -Djava.net.preferIPv4Stack=true
on the java command line (or -J-D in netbeans.conf).

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


java support in FBSD Firefox 4

2011-03-31 Thread Tim Kellers

Before I attempt to (re)invent the java wheel in Firefox 4...

Is there any documentation about how to enable java support already 
written or available.  If there isn't, does anyone have any hints?


Thanks

Tim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: java support in FBSD Firefox 4

2011-03-31 Thread John Levine
In article 4d948902.6000...@wallnet.com you write:
Before I attempt to (re)invent the java wheel in Firefox 4...

Is there any documentation about how to enable java support already 
written or available.  If there isn't, does anyone have any hints?

It's unchanged from 3.6, or at least, when I upgraded from 3.6 to 4
Java kept working.

This link explains it pretty well:

http://forums.freebsd.org/showthread.php?t=21010

R's,
John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: java support in FBSD Firefox 4

2011-03-31 Thread Adam Vande More
On Thu, Mar 31, 2011 at 9:00 AM, Tim Kellers timot...@wallnet.com wrote:

 Before I attempt to (re)invent the java wheel in Firefox 4...

 Is there any documentation about how to enable java support already written
 or available.  If there isn't, does anyone have any hints?


As always, the FreeBSD Handbook is what you should consult first which gives
a 3 command installation instructions to achieve your goal.



-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: java support in FBSD Firefox 4

2011-03-31 Thread Tim Kellers


On 03/31/11 11:06, John Levine wrote:

In article4d948902.6000...@wallnet.com  you write:

Before I attempt to (re)invent the java wheel in Firefox 4...

Is there any documentation about how to enable java support already
written or available.  If there isn't, does anyone have any hints?

It's unchanged from 3.6, or at least, when I upgraded from 3.6 to 4
Java kept working.

This link explains it pretty well:

http://forums.freebsd.org/showthread.php?t=21010

R's,
John
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



Thanks.

Someplace between Firefox 3.5 and 4.0 I changed from diablo to openjdk.

That:
ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so ~/.mozilla/plugins/

was the missing step for me.

Tim Kellers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: java support in FBSD Firefox 4

2011-03-31 Thread John R. Levine

This link explains it pretty well:
http://forums.freebsd.org/showthread.php?t=21010



Someplace between Firefox 3.5 and 4.0 I changed from diablo to openjdk.


It was 3.6.  Check the archives for considerable gnashing of teeth as we 
tried to figure out how to get Java working again.



ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so ~/.mozilla/plugins/
was the missing step for me.


Free bonus: if you use Chromium, it works there, too:

ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so /usr/local/share/chromium/

Regards,
John Levine, jo...@iecc.com, Primary Perpetrator of The Internet for Dummies,
Please consider the environment before reading this e-mail. http://jl.ly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: java support in FBSD Firefox 4

2011-03-31 Thread Robert Huff

Tim Kellers writes:

  Someplace between Firefox 3.5 and 4.0 I changed from diablo to openjdk.
  
  That:
  ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so ~/.mozilla/plugins/
  
  was the missing step for me.

I tried this, and discovered that - at least for SeaMonkey - I
had to go to the plugins manager and explicitly enable it before it
would show up in about:plugins.


Robert Huff

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: java plugin for firefox

2011-03-09 Thread Pavel Timofeev


Pavel Timofeev wrote:
 
 Is it necessary to install libxul for enabling java plugin in firefox3.6?
 
Excuse me. I use FreeBSD 8.2 RELEASE i386, firefox3.6, openjdk6
-- 
View this message in context: 
http://old.nabble.com/java-plugin-for-firefox-tp31106239p31106351.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


java plugin for firefox

2011-03-09 Thread Pavel Timofeev

Is it necessary to install libxul for enabling java plugin in firefox3.6?
-- 
View this message in context: 
http://old.nabble.com/java-plugin-for-firefox-tp31106239p31106239.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-08 Thread Rob Farmer
On Mon, Mar 7, 2011 at 11:36 PM, n j nin...@gmail.com wrote:
 openjdk-7.0.122_1
 Java Development Kit 7
 Long description : Sources : Changes : Download

 vs.

 openoffice.org-2.1.0
 Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser
 Long description | Package | Sources | Main Web Site

 In any way, I stand corrected. I should probably start testdriving
 OpenJDK to see if it can successfully replace diablo-jdk.


I would recommend openjdk6 unless you have a specific need for 7. It
is getting a lot more attention (for example, the web plugin from
IcedTea is available in 6).

-- 
Rob Farmer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread Rodrigo Freitas
Dear friends,

I've been studying/researching to understand what is the best OS for my
production environment.
I didn't know FreeBSD until this need, and now I'm fascinated with the stuff
I've been reading about it.
I have 2 servers with the following SW/HW:

Server 1:
Postgres 9
HSQLDB (Java)
2 cpu 5620 / 48 GB RAM

Server 2:
Coldfusion 9 and other java applications
2 cpu 5620 / 24 GB RAM

I searched the web about performance and portability for these applications
on FreeBSD, but I could not find any clear article about my doubts, that's
why I'm asking for your help.

Question #1: Is anyone running Coldfusion on FreeBSD? It looks like Adobe
only supports Red Had and SuSe.

Question #2: Is the JVM implementation for FreeBSD reliable and fast? Most
of my software components are made in Java (including HSQDB)

Question #3: I read a lot of old posts saying that the overall performance
of Postgres under FreeBSD is better than on some Linux distributions. Is
this still valid for the current versions?

I appreciate your valuable time for reading this and for helping me.

Thanks a lot

Rodrigo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread Michael J. Kearney

Most .config files use the linux subsystem. . And the jre requires the proc 
filesystem. .. you dont have to run fbsd atm

Rodrigo Freitas freitas.rodr...@gmail.com wrote:


Dear friends,

I've been studying/researching to understand what is the best OS for my
production environment.
I didn't know FreeBSD until this need, and now I'm fascinated with the stuff
I've been reading about it.
I have 2 servers with the following SW/HW:

Server 1:
Postgres 9
HSQLDB (Java)
2 cpu 5620 / 48 GB RAM

Server 2:
Coldfusion 9 and other java applications
2 cpu 5620 / 24 GB RAM

I searched the web about performance and portability for these applications
on FreeBSD, but I could not find any clear article about my doubts, that's
why I'm asking for your help.

Question #1: Is anyone running Coldfusion on FreeBSD? It looks like Adobe
only supports Red Had and SuSe.

Question #2: Is the JVM implementation for FreeBSD reliable and fast? Most
of my software components are made in Java (including HSQDB)

Question #3: I read a lot of old posts saying that the overall performance
of Postgres under FreeBSD is better than on some Linux distributions. Is
this still valid for the current versions?

I appreciate your valuable time for reading this and for helping me.

Thanks a lot

Rodrigo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread Rodrigo Freitas
Michael
Excuse me, I didn't quite get your answer...

On Monday, March 7, 2011, Michael  J. Kearney mkear...@nvita.org wrote:

 Most .config files use the linux subsystem. . And the jre requires the proc 
 filesystem. .. you dont have to run fbsd atm

 Rodrigo Freitas freitas.rodr...@gmail.com wrote:


 Dear friends,

 I've been studying/researching to understand what is the best OS for my
 production environment.
 I didn't know FreeBSD until this need, and now I'm fascinated with the stuff
 I've been reading about it.
 I have 2 servers with the following SW/HW:

 Server 1:
 Postgres 9
 HSQLDB (Java)
 2 cpu 5620 / 48 GB RAM

 Server 2:
 Coldfusion 9 and other java applications
 2 cpu 5620 / 24 GB RAM

 I searched the web about performance and portability for these applications
 on FreeBSD, but I could not find any clear article about my doubts, that's
 why I'm asking for your help.

 Question #1: Is anyone running Coldfusion on FreeBSD? It looks like Adobe
 only supports Red Had and SuSe.

 Question #2: Is the JVM implementation for FreeBSD reliable and fast? Most
 of my software components are made in Java (including HSQDB)

 Question #3: I read a lot of old posts saying that the overall performance
 of Postgres under FreeBSD is better than on some Linux distributions. Is
 this still valid for the current versions?

 I appreciate your valuable time for reading this and for helping me.

 Thanks a lot

 Rodrigo
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread Michael J. Kearney
The new jre or java executable.. needs the proc filesystem and or the binaries 
may not be what you want. . Ftw

Rodrigo Freitas freitas.rodr...@gmail.com wrote:


Michael
Excuse me, I didn't quite get your answer...

On Monday, March 7, 2011, Michael  J. Kearney mkear...@nvita.org wrote:

 Most .config files use the linux subsystem. . And the jre requires the proc 
 filesystem. .. you dont have to run fbsd atm

 Rodrigo Freitas freitas.rodr...@gmail.com wrote:


 Dear friends,

 I've been studying/researching to understand what is the best OS for my
 production environment.
 I didn't know FreeBSD until this need, and now I'm fascinated with the stuff
 I've been reading about it.
 I have 2 servers with the following SW/HW:

 Server 1:
 Postgres 9
 HSQLDB (Java)
 2 cpu 5620 / 48 GB RAM

 Server 2:
 Coldfusion 9 and other java applications
 2 cpu 5620 / 24 GB RAM

 I searched the web about performance and portability for these applications
 on FreeBSD, but I could not find any clear article about my doubts, that's
 why I'm asking for your help.

 Question #1: Is anyone running Coldfusion on FreeBSD? It looks like Adobe
 only supports Red Had and SuSe.

 Question #2: Is the JVM implementation for FreeBSD reliable and fast? Most
 of my software components are made in Java (including HSQDB)

 Question #3: I read a lot of old posts saying that the overall performance
 of Postgres under FreeBSD is better than on some Linux distributions. Is
 this still valid for the current versions?

 I appreciate your valuable time for reading this and for helping me.

 Thanks a lot

 Rodrigo
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread Nerius Landys
 Question #2: Is the JVM implementation for FreeBSD reliable and fast? Most
 of my software components are made in Java (including HSQDB)

Since I have experience with Java on FreeBSD, I will try to answer
this question.

Java works very well for me under FreeBSD; I have not had a single
problem with Java on FreeBSD.
To install java, you can either install a pre-compiled JDK (called
diablo-jdk) or compile all the JDK sources from scratch using the
ports system.  If you compile yourself from ports, you can choose
either JDK 1.5 or JDK 1.6 (there may even be newer and older JDK
versions that work fine).  I'm running JDK 1.5 compiled from source on
both my servers, and have had no problems in my Java applications.
The dependencies list for 1.6 is a bit more involved, but the
compile/install process is so automated that you won't be bothered
with the amount of work it takes to install a JDK.

So, in a nutshell, Java is very well supported under FreeBSD and you
should consider this to be a non-issue.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread Rodrigo Freitas
Thanks a lot!!

Has anyone successfully installed Coldfusion 9?

On Monday, March 7, 2011, Nerius Landys nlan...@gmail.com wrote:
 Question #2: Is the JVM implementation for FreeBSD reliable and fast? Most
 of my software components are made in Java (including HSQDB)

 Since I have experience with Java on FreeBSD, I will try to answer
 this question.

 Java works very well for me under FreeBSD; I have not had a single
 problem with Java on FreeBSD.
 To install java, you can either install a pre-compiled JDK (called
 diablo-jdk) or compile all the JDK sources from scratch using the
 ports system.  If you compile yourself from ports, you can choose
 either JDK 1.5 or JDK 1.6 (there may even be newer and older JDK
 versions that work fine).  I'm running JDK 1.5 compiled from source on
 both my servers, and have had no problems in my Java applications.
 The dependencies list for 1.6 is a bit more involved, but the
 compile/install process is so automated that you won't be bothered
 with the amount of work it takes to install a JDK.

 So, in a nutshell, Java is very well supported under FreeBSD and you
 should consider this to be a non-issue.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread n j
 Java works very well for me under FreeBSD; I have not had a single
 problem with Java on FreeBSD.
 To install java, you can either install a pre-compiled JDK (called
 diablo-jdk) or compile all the JDK sources from scratch using the
 ports system.  If you compile yourself from ports, you can choose
 either JDK 1.5 or JDK 1.6 (there may even be newer and older JDK
 versions that work fine).  I'm running JDK 1.5 compiled from source on
 both my servers, and have had no problems in my Java applications.
 The dependencies list for 1.6 is a bit more involved, but the
 compile/install process is so automated that you won't be bothered
 with the amount of work it takes to install a JDK.

 So, in a nutshell, Java is very well supported under FreeBSD and you
 should consider this to be a non-issue.

IMHO, building Java on FreeBSD is a pain.

Don't get me wrong, people working on FreeBSD Java project are doing a
*great* job, but it was so much easier to just download the packages
from FreeBSD Foundation thanks to the deal with Sun. I don't know
what's the status of that deal right now, but there are no packages
for 8-RELEASE and the packages themselves weren't updated in a long
while, so I guess the deal's off.

I'm running Java on FreeBSD right now, but I must say I'd probably
stick to Linux nowadays if I had any say, at least until there comes a
day when I'll be able to pkg_add -r openjdk7.

-- 
Nino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread Mark Felder

On Mon, 07 Mar 2011 12:19:33 -0600, n j nin...@gmail.com wrote:


IMHO, building Java on FreeBSD is a pain.


AFAIK, Sun/Oracle doesn't provide precompiled OpenJDK for anyone, really.  
Even OSX now has to build their own. If it's precompiled it's probably not  
OpenJDK.



Regards,


Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread b. f.
...
 I'm running Java on FreeBSD right now, but I must say I'd probably
 stick to Linux nowadays if I had any say, at least until there comes a
 day when I'll be able to pkg_add -r openjdk7.
...

Why not now? (Or anytime this past year or more?):

http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/java/openjdk-7.0.86.tbz
http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/java/openjdk-7.0.122.tbz
http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/java/openjdk-7.0.122_1.tbz

http://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.1-release/java/openjdk-7.0.86.tbz
http://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8.2-release/java/openjdk-7.0.122.tbz
http://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-8-stable/java/openjdk-7.0.122_1.tbz

etc.

b.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread n j
On Tue, Mar 8, 2011 at 2:13 AM, b. f. bf1...@googlemail.com wrote:
 Why not now? (Or anytime this past year or more?):

Hmm, good point :-).

I was misled by the ports page (e.g.
http://www.freebsd.org/cgi/ports.cgi?query=openjdkstype=all) which
used to have a different entry if a port had a package, i.e.:

openjdk-7.0.122_1
Java Development Kit 7
Long description : Sources : Changes : Download

vs.

openoffice.org-2.1.0
Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser
Long description | Package | Sources | Main Web Site

In any way, I stand corrected. I should probably start testdriving
OpenJDK to see if it can successfully replace diablo-jdk.

Regards,
-- 
Nino
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Building Java

2011-02-26 Thread Jason C. Wells
Trying to build java.  Oracle has change tzupdater to 1.3.35.  Ports 
calls for 1.3.34.  Oracle provides 1.3.35 if you register for their 
support portal.  The support portal is behind a flash sniffer that won't 
let you in without flash. g!


Can someone please just point me to a bootleg copy of the java sources?

Thanks,
Jason C. Wells
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Building Java

2011-02-26 Thread Jason C. Wells

On 02/26/11 08:19, Jason C. Wells wrote:
Trying to build java.  Oracle has change tzupdater to 1.3.35.  Ports 
calls for 1.3.34.  Oracle provides 1.3.35 if you register for their 
support portal.  The support portal is behind a flash sniffer that 
won't let you in without flash. g!


Can someone please just point me to a bootleg copy of the java sources?

Thanks,
Jason C. Wells

Whoops.  That should read Oracle provides 1.1.34 only if you register.

Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Building Java

2011-02-26 Thread Jason C. Wells

Never mind.  I did a little URL edit and got the file.

Jason
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Building Java

2011-02-26 Thread Patrick Lamaiziere
Le Sat, 26 Feb 2011 08:43:36 -0800,
Jason C. Wells j...@speakeasy.net a écrit :

Hello,

(java tzupdaters)
 Never mind.  I did a little URL edit and got the file.

You can also build the port without the option TZUPDATE.

Regards.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Firefox 3.6 and Java ?

2010-12-30 Thread Richard T C Farnes
On Wednesday 29 December 2010 17:56:03 John Levine wrote:
 I gather that Firefox 3.6 still doesn't work with Java, since the
 glue hasn't been updated.  Is anyone likely to be working on this?

 I'm willing in principle, although my knowledge of both Firefox and
 Java internals is, ah, somewhat limited.

 R's,
 John

I also have this problem with the installation of Firefox. The installation 
process searches for files which it cannot find. When I search for  them on 
websites for Java I cannot find some of the particular files it asks for. It   
seems that the version of Firefox I find  for FreeBSD is not  the latest 
Firefox version. So it wants java programmes that are too old  and not found 
on the java websites anymore. 
Richard.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Firefox 3.6 and Java ?

2010-12-29 Thread John Levine
I gather that Firefox 3.6 still doesn't work with Java, since the
glue hasn't been updated.  Is anyone likely to be working on this?

I'm willing in principle, although my knowledge of both Firefox and
Java internals is, ah, somewhat limited.

R's,
John


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Firefox 3.6 and Java ?

2010-12-29 Thread Jan Henrik Sylvester

On 01/-10/-28163 20:59, John Levine wrote:

I gather that Firefox 3.6 still doesn't work with Java, since the
glue hasn't been updated.  Is anyone likely to be working on this?


java/openjdk6 WITH_WEB will give you the plugin to use with www/firefox.

You just have to enable it manually:

cd ~/.mozilla/plugins/  ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so

Cheers,
Jan Henrik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Firefox 3.6 and Java ?

2010-12-29 Thread Jan Henrik Sylvester

On 01/-10/-28163 20:59, John Levine wrote:

I gather that Firefox 3.6 still doesn't work with Java, since the
glue hasn't been updated.  Is anyone likely to be working on this?


java/openjdk6 WITH_WEB will give you the plugin to use with www/firefox.

You just have to enable it manually:

cd ~/.mozilla/plugins/  ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so

Cheers,
Jan Henrik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Firefox 3.6 and Java ?

2010-12-29 Thread John Levine
 I gather that Firefox 3.6 still doesn't work with Java, since the
 glue hasn't been updated.  Is anyone likely to be working on this?

java/openjdk6 WITH_WEB will give you the plugin to use with www/firefox.

I'm trying to build openjdk6 on amd64 8.1-RELEASE, and I'm getting
build errors.  I did make config and turned on the WEB option, then make.

One error went away when I installed libXtst, but there's another near
the end of the build when it's trying to build icedtea and it can't
find nsThreadUtils.h.  That appears to be a firefox36 file, and I see
it's installed, but the includes are messed up or something.

Any suggestions?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


java

2010-12-26 Thread xinyou yan
I have installed jdk
Here is  helloword.java

 class helloworld{
  2 public static void main(String[] args){
  3 System.out.println(hello world !);
  4 }
  5 }

$javac helloworld.java //No problem
$java   helloworld.class
  //Exception in thread main java.lang.NoClassDefFoundError:helloworld/class


$ java -version
Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02)
Diablo Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)


May be should reset ClassPath , add . to path?
I have no idea.

Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: java

2010-12-26 Thread Rob Farmer
On Sun, Dec 26, 2010 at 16:59, xinyou yan yxy@gmail.com wrote:
 $javac helloworld.java     //No problem
 $java   helloworld.class

It should be java helloworld (no extension).

-- 
Rob Farmer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Erlang and Java

2010-09-25 Thread Chip Camden
Quoth Chad Perrin on Friday, 24 September 2010:
 Does anyone know of a reason that installing lang/erlang would fail if a
 java/diablo-jdk port failed to install?  Correct me if I'm wrong, but the
 Erlang VM really should *not* depend on Java.  Right?
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

Looking at the Makefile, it appears that WITHOUT_JAVA needs to be
defined to avoid a dependency.

Looks likle that option is part of the config.

make rmconfig
make install clean

then make sure the first option is unchecked.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgp4g6ZpOdl5H.pgp
Description: PGP signature


Re: Erlang and Java

2010-09-25 Thread Chad Perrin
On Sat, Sep 25, 2010 at 09:50:02AM -0700, Chip Camden wrote:
 Quoth Chad Perrin on Friday, 24 September 2010:
  Does anyone know of a reason that installing lang/erlang would fail if a
  java/diablo-jdk port failed to install?  Correct me if I'm wrong, but the
  Erlang VM really should *not* depend on Java.  Right?
 
 Looking at the Makefile, it appears that WITHOUT_JAVA needs to be
 defined to avoid a dependency.
 
 Looks likle that option is part of the config.
 
 make rmconfig
 make install clean
 
 then make sure the first option is unchecked.

Hmm.  This did not come up in any configuration screens when I used
portinstall to try installing it, as far as I recall.  Annoying.

Thanks.  It seems to be working now.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgp0geNWyRIOV.pgp
Description: PGP signature


Erlang and Java

2010-09-24 Thread Chad Perrin
Does anyone know of a reason that installing lang/erlang would fail if a
java/diablo-jdk port failed to install?  Correct me if I'm wrong, but the
Erlang VM really should *not* depend on Java.  Right?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgp6tfLZs6IEJ.pgp
Description: PGP signature


Re: Erlang and Java

2010-09-24 Thread zaxis

Erlang doesnot depend on java.  I have installed erlang sucessfully just by
`make install clean` without java.


Chad Perrin wrote:
 
 Does anyone know of a reason that installing lang/erlang would fail if a
 java/diablo-jdk port failed to install?  Correct me if I'm wrong, but the
 Erlang VM really should *not* depend on Java.  Right?
 
 -- 
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
 
  
 


-
e^(π⋅i) + 1 = 0
-- 
View this message in context: 
http://old.nabble.com/Erlang-and-Java-tp29803843p29804352.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Antonio Vieiro

Hi all,

Now that OpenSolaris is dead [1] I was wondering what the status of Java 
is in FreeBSD.


I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle 
hands or not? Would it be possible it dissappearing from the ports 
because of licensing/patent issues? If so, what are the open-source 
alternatives?


Thanks,
Antonio

[1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread nux

Antonio Vieiro writes:


Hi all,

Now that OpenSolaris is dead [1] I was wondering what the status of Java 
is in FreeBSD.


But there is hope: 
http://www.h-online.com/open/news/item/Illumos-launched-as-OpenSolaris-deriv 
ative-1050151.html




I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle 
hands or not? Would it be possible it dissappearing from the ports 
because of licensing/patent issues? If so, what are the open-source 
alternatives?


Thanks,
Antonio

[1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Roland Smith
On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote:
 Hi all,
 
 Now that OpenSolaris is dead [1] I was wondering what the status of Java 
 is in FreeBSD.
 [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html

IMO the status of Java is best to avoid it. Just ask Google. :-)

 I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle 
 hands or not?

Depends what you mean by free. It's under the GPLv2, so I think you should be
good wrt copyrights. 

Patents might be different matter, though! To the best of my knowledge, the EU
law doesn't allow patenting software. But if you really want to know where you
stand you should consult a lawyer who knows Spanish and EU patent law.

People in the US could very well be screwed, however. OTOH, Oracle's lawsuit
against Google over Android could potentially lead to the patents asserted in
that case being found invalid.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp8EQMUaa2tO.pgp
Description: PGP signature


Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Antonio Vieiro

On 13/08/2010 20:57, Roland Smith wrote:

On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote:



I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle
hands or not?


Depends what you mean by free. It's under the GPLv2, so I think you should be
good wrt copyrights.


I think that the Diablo JVM has Sun source code [1], and this is 
released under a partner agreement or something, so I imagine Oracle 
could shut it down as well, right?


OpenJDK is under GPLV2, but I'm not sure it covers the whole JVM. I'll 
try to find out.


Thanks,
Antonio

[1] http://www.freebsdfoundation.org/downloads/java.shtml



Patents might be different matter, though! To the best of my knowledge, the EU
law doesn't allow patenting software. But if you really want to know where you
stand you should consult a lawyer who knows Spanish and EU patent law.

People in the US could very well be screwed, however. OTOH, Oracle's lawsuit
against Google over Android could potentially lead to the patents asserted in
that case being found invalid

Roland


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Kurt Buff
On Fri, Aug 13, 2010 at 11:57, Roland Smith rsm...@xs4all.nl wrote:
 On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote:
 Hi all,

 Now that OpenSolaris is dead [1] I was wondering what the status of Java
 is in FreeBSD.
 [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html

 IMO the status of Java is best to avoid it. Just ask Google. :-)

So, what do you suggest for SSL VPN clients? Some/most/all of the
clients for these things are Java-based - well, except for clients
running Windows and for which there is (usually) an ActiveX control
(shudder.)

That's just the most interesting one to me, but OOo also relies on
Java for some functionality (thought that's somewhat a Sun/Oracle
effort too, and one wonders about its fate also) and there are other
applications for which Java is a critical component.

Kurt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Roland Smith
On Fri, Aug 13, 2010 at 12:58:01PM -0700, Kurt Buff wrote:
 On Fri, Aug 13, 2010 at 11:57, Roland Smith rsm...@xs4all.nl wrote:
  On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote:
  Hi all,
 
  Now that OpenSolaris is dead [1] I was wondering what the status of Java
  is in FreeBSD.
  [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html
 
  IMO the status of Java is best to avoid it. Just ask Google. :-)
 
 So, what do you suggest for SSL VPN clients? Some/most/all of the
 clients for these things are Java-based - well, except for clients
 running Windows and for which there is (usually) an ActiveX control
 (shudder.)

If I read [2] correctly, isn't SSL VPN supposed to be clientless and work
through the browser?

[2]: http://www.windowsecurity.com/articles/VPN-Options.html

 That's just the most interesting one to me, but OOo also relies on
 Java for some functionality (thought that's somewhat a Sun/Oracle
 effort too, and one wonders about its fate also) and there are other
 applications for which Java is a critical component.

According to [3], some OpenOffice functionality depends on Java, but it can be
built without it. I hacked the OOO (2.x IIRC) port to that effect once, but I
deleted it since I didn't use it much. Personally I prefer Emacs, LaTeX and
assorted scripting languages. :-)

[3]: http://wiki.services.openoffice.org/wiki/Java_and_OpenOffice.org

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpugFS5taLNd.pgp
Description: PGP signature


Re: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Gary Kline
On Fri, Aug 13, 2010 at 08:57:08PM +0200, Roland Smith wrote:
 On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote:
  Hi all,
  
  Now that OpenSolaris is dead [1] I was wondering what the status of Java 
  is in FreeBSD.
  [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html
 
 IMO the status of Java is best to avoid it. Just ask Google. :-)
 
  I'm currently using OpenJDK16 from ports. Is OpenJDK free from Oracle 
  hands or not?
 
 Depends what you mean by free. It's under the GPLv2, so I think you should be
 good wrt copyrights. 
 
 Patents might be different matter, though! To the best of my knowledge, the EU
 law doesn't allow patenting software. But if you really want to know where you
 stand you should consult a lawyer who knows Spanish and EU patent law.
 
 People in the US could very well be screwed, however. OTOH, Oracle's lawsuit
 against Google over Android could potentially lead to the patents asserted in
 that case being found invalid.

y're right on your last paragraph.  i think/hope that oracle's fist
fight leads to their quicker bankruptcy... to which they've been
headed for quite some time.  
 
 Roland
 -- 
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Status of Java in FreeBSD? (OpenSolaris is dead)

2010-08-13 Thread Mikhail
 -Original Message-
 From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
 questi...@freebsd.org] On Behalf Of Roland Smith
 Sent: Saturday, August 14, 2010 12:50 AM
 To: Kurt Buff
 Cc: FreeBSD Questions
 Subject: Re: Status of Java in FreeBSD? (OpenSolaris is dead)
 
 On Fri, Aug 13, 2010 at 12:58:01PM -0700, Kurt Buff wrote:
  On Fri, Aug 13, 2010 at 11:57, Roland Smith rsm...@xs4all.nl wrote:
   On Fri, Aug 13, 2010 at 07:59:20PM +0200, Antonio Vieiro wrote:
   Hi all,
  
   Now that OpenSolaris is dead [1] I was wondering what the status of
 Java
   is in FreeBSD.
   [1] http://sstallion.blogspot.com/2010/08/opensolaris-is-dead.html
  
   IMO the status of Java is best to avoid it. Just ask Google. :-)
 
  So, what do you suggest for SSL VPN clients? Some/most/all of the
  clients for these things are Java-based - well, except for clients
  running Windows and for which there is (usually) an ActiveX control
  (shudder.)
 
 If I read [2] correctly, isn't SSL VPN supposed to be clientless and work
 through the browser?
 
 [2]: http://www.windowsecurity.com/articles/VPN-Options.html

Yeah, but when you want to launch any application through WebVPN (telnet for
example) you have to start Java applet.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


thread cpu time measurement is not supported (java application weka error message)

2010-08-05 Thread Dino Vliet
Folks,
when running an experiment in weka in freebsd ports I get this error:
thread cpu time measurement is not supported
In the console I see this:
ava.lang.UnsupportedOperationException: Thread CPU time measurement is not 
supported        
sun.management.ThreadImpl.isThreadCpuTimeEnabled(ThreadImpl.java:80)        
weka.experiment.ClassifierSplitEvaluator.getResult(ClassifierSplitEvaluator.java:685)  
      
weka.experiment.CrossValidationResultProducer.doRun(CrossValidationResultProducer.java:367)  
      
weka.experiment.AveragingResultProducer.doRun(AveragingResultProducer.java:296)  
      weka.experiment.Experiment.nextIteration(Experiment.java:539)        
weka.gui.experiment.RunPanel$ExperimentRunner.run(RunPanel.java:181)
        at 
sun.management.ThreadImpl.isThreadCpuTimeEnabled(ThreadImpl.java:80)        at 
weka.experiment.ClassifierSplitEvaluator.getResult(ClassifierSplitEvaluator.java:685)  
      at 
weka.experiment.CrossValidationResultProducer.doRun(CrossValidationResultProducer.java:367)  
      at 
weka.experiment.AveragingResultProducer.doRun(AveragingResultProducer.java:296)  
      at weka.experiment.Experiment.nextIteration(Experiment.java:539)        
at weka.gui.experiment.RunPanel$ExperimentRunner.run(RunPanel.java:181)Done...
My java environment is:
weka-3.6.3javavmwrapper-2.3.5jdk-1.6.0.3p4_15
What seems to be the problem here?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Unabel to download Java Patch from http://www.eyesbeyond.com/

2010-07-21 Thread Martin Schweizer
Hello 

Since some days I tried to download the latest Java patch from 
http://www.eyesbeyond.com/. But the site is not reachable. I tried it from a 
europe and from 
us server but no luck. Do you have any ideas?

Regards,


-- 

Martin Schweizer
off...@pc-service.ch

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Unabel to download Java Patch from http://www.eyesbeyond.com/

2010-07-21 Thread Pieter de Goeje
On Wednesday 21 July 2010 10:37:54 Martin Schweizer wrote:
 Since some days I tried to download the latest Java patch from
 http://www.eyesbeyond.com/. But the site is not reachable. I tried it from
 a europe and from us server but no luck. Do you have any ideas?

I can recommend installing openjdk16 instead of jdk16. It is a much more 
recent version of Java.

- Pieter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


java citrix client on seamonkey

2010-07-01 Thread Andrew Gould
I'm trying to access applications on my employer's network via Citrix.
 I'm using seamonkey as my browser on FreeBSD 7.3 Release.  I have
installed diablo-jdk-freebsd7.i386.1.6.0.07.02.tbz. and the
icedtea6-stubs package.

My employer's website for Citrix access facilitates the installation
of the Java client for Citrix.  When I try to open an application, I
get a message stating that I haven't chosen to trust GlobalSign Root
CA.  I installed the certificates in seamonkey; but I still get the
error message.  The details of the error are here:

x.sdk.jsse.CitrixSSLException: You have not chosen to trust
GlobalSign Root CA, the issuer of the server's security certificate.
at com.citrix.sdk.jsse.SocketFactory.createSslSocket(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.citrix.client.io.net.ip.proxy.o.a(Unknown Source)
at com.citrix.client.io.net.ip.z.a(Unknown Source)
at com.citrix.client.io.net.ip.z.a(Unknown Source)
at com.citrix.client.module.td.tcp.TCPTransportDriver.s(Unknown Source)
at com.citrix.client.module.td.TransportDriver.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.net.ssl.SSLHandshakeException: com.citrix.sdk.jsse.i
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)
at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
at 
com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
at 
com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
at 
com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
... 11 more
Caused by: com.citrix.sdk.jsse.i
at com.citrix.sdk.jsse.a.a(Unknown Source)
at com.citrix.sdk.jsse.a.a(Unknown Source)
at com.citrix.sdk.jsse.a.a(Unknown Source)
at com.citrix.sdk.jsse.c.checkServerTrusted(Unknown Source)
at 
com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:967)
... 18 more

Does this mean the certificate(s) need to be installed somewhere in
Java?  If so does anyone know how to do this?

I had the same problem on Xubuntu 9.10 but success on Xubuntu 10.4
using seamonkey, openjdk and the icedtea plugin.  I would have tried
using openjdk on FreeBSD; but I didn't know if it would do any good
(or cause problems) since icedtea6-stubs requires diablo.

Thanks,

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Java plugin with Firefox 3.6

2010-06-08 Thread bdsfbsd

On Mon, 07 Jun 2010 17:24:47 -0400, Chuck Swiger cswi...@mac.com wrote:


On Jun 7, 2010, at 1:08 PM, Jerry wrote:
[ ... ]
I honestly enjoy satire. That said, it does not change the fact that a  
serviceable version of Java, suitable for Firefox-3.6, does not exist  
within the FreeBSD framework.


That's pretty much accurate, if you don't want to consider running  
FF+Java under Linux emulation.

[ ... ]


High-level religious arguments aside, could we get a little advice the for  
newbie who wants to try using FreeBSD, but needs Java to work with  
Firefox? (As this is the 'questions' list, and not the 'debate what fBSD  
devs ought to be working on' list.)


Here's what I know, for posterity sake..

Firefox 3.6 needs Java 6 Update 10. [1]

For now, as a newbie, I generally try not to install anything not in the  
ports collection. From there you can find some JREs, but none are at  
Update 10, including Linux emulation. [2] At this time, the highest I see  
there is diablo-jre-1.6.0.07.02_8.


That's okay, I really wanted the full JDK anyway, so I look for that. [3]  
There appears to be four flavors available; diablo-jdk, openjdk, jdk and  
linux-sun-jdk:


diablo-jdk-1.6.0.07.02_9
openjdk-7.0.86 (requires diablo-jdk-1.6.0.07.02_9)
jdk-1.6.0.3p4_15 (requires diablo-jdk-1.6.0.07.02_9, and is based on  
1.6.0_03 (aka 6u3))

linux-sun-jdk-1.6.0.20

It looks like the Linux version is the only one up-to-date enough for  
Firefox 3.6. Would that only work with the Linux version of Firefox 3.6?  
If so, then one must go outside of the ports collection to get it. [4] At  
this time, the highest version I see in ports is linux-firefox-devel-3.5.9.



I suspect the best thing to do would be to go with a current JDK and an  
older version of (native) Firefox, and not upgrade Firefox until the JDK  
version gets to Java 6 Update 10, allowing the JDK to upgrade naturally  
along with the rest of keeping my system up to date. If folks in-the-know  
around here agree with that, I'll probably start a new thread 'Which  
JDK?', as I find that confusing.


Thanks,
Brian

[1] http://java.com/en/download/faq/firefox_newplugin.xml
[2] http://www.freebsd.org/cgi/ports.cgi?query=jre
[3] http://www.freebsd.org/cgi/ports.cgi?query=jdksektion=java
[4] http://www.freebsd.org/cgi/ports.cgi?query=linux-firefox
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Java plugin with Firefox 3.6

2010-06-08 Thread C. P. Ghost
On Tue, Jun 8, 2010 at 4:19 PM,  bdsf...@att.net wrote:
 Firefox 3.6 needs Java 6 Update 10. [1]

 For now, as a newbie, I generally try not to install anything not in the
 ports collection. From there you can find some JREs, but none are at Update
 10, including Linux emulation. [2] At this time, the highest I see there is
 diablo-jre-1.6.0.07.02_8.

 That's okay, I really wanted the full JDK anyway, so I look for that. [3]
 There appears to be four flavors available; diablo-jdk, openjdk, jdk and
 linux-sun-jdk:

 diablo-jdk-1.6.0.07.02_9
 openjdk-7.0.86 (requires diablo-jdk-1.6.0.07.02_9)
 jdk-1.6.0.3p4_15 (requires diablo-jdk-1.6.0.07.02_9, and is based on
 1.6.0_03 (aka 6u3))
 linux-sun-jdk-1.6.0.20

The problem is that java/jdk16 hasn't been updated for a LONG
time. I gave up hope that it will be updated, and I've had to install
java/openjdk6 instead, just to be able to start Freenet (from
http://freenetproject.org/), because Freenet wouldn't start otherwise
due to some big XML vulnerability in our old not yet updated
java/jdk16.

Maybe the problem is similar with Firefox 3.6?

 It looks like the Linux version is the only one up-to-date enough for
 Firefox 3.6. Would that only work with the Linux version of Firefox 3.6? If
 so, then one must go outside of the ports collection to get it. [4] At this
 time, the highest version I see in ports is linux-firefox-devel-3.5.9.


 I suspect the best thing to do would be to go with a current JDK and an
 older version of (native) Firefox, and not upgrade Firefox until the JDK
 version gets to Java 6 Update 10, allowing the JDK to upgrade naturally
 along with the rest of keeping my system up to date. If folks in-the-know
 around here agree with that, I'll probably start a new thread 'Which JDK?',
 as I find that confusing.

 Thanks,
 Brian

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Java plugin with Firefox 3.6

2010-06-07 Thread Jerry
On Mon, 7 Jun 2010 07:50:04 +0200
Harry Matthiesen Jensen free...@elgert.dk articulated:


 On Mon, Jun 07, 2010 at 12:20:08AM +, Márcio C.G. wrote:
  
  As this link (http://forums.freebsd.org/showthread.php?t=10570)
  says, JAVA PLUGIN WONT WORK WITH FIREFOX 3.6. I tried to use
  linux-sun-jdk16 port, but the plugin didn t work too. Is there an
  workaround or anybody that knows how-to use java plugin within
  firefox 3.6?
  
 
 I just portinstall firefox3, which right now will give you Firefox
 3.5.9, and java works ;-)

The OP requested help with Firefox-3.6, not with older deprecated
versions. Perhaps when version '4' is released, support for Java in
'3.6.x' will become available.

-- 
Jerry
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Java plugin with Firefox 3.6

2010-06-07 Thread Harry Matthiesen Jensen
On Mon, Jun 07, 2010 at 06:08:24AM -0400, Jerry wrote:
  
  I just portinstall firefox3, which right now will give you Firefox
  3.5.9, and java works ;-)
 
 The OP requested help with Firefox-3.6, not with older deprecated
 
I am fully aware of that...

The short answer would be not yet possible or just wait, will come
later... which in my world not is an answer anyone can use..

I just showed a way of getting java support in Firefox 3 ;-)

-- 
Mvh/Brgds Harry
FreeBSD 8.1-PRERELEASE #3: Compiled at Mon Jun  7 01:54:25 CEST 2010 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Java plugin with Firefox 3.6

2010-06-07 Thread Ian Smith
In freebsd-questions Digest, Vol 314, Issue 1, Message: 33
On Mon, 7 Jun 2010 06:08:24 -0400 Jerry freebsd.u...@seibercom.net wrote:
  On Mon, 7 Jun 2010 07:50:04 +0200
  Harry Matthiesen Jensen free...@elgert.dk articulated:
  
  
   On Mon, Jun 07, 2010 at 12:20:08AM +, Márcio C.G. wrote:

As this link (http://forums.freebsd.org/showthread.php?t=10570)
says, JAVA PLUGIN WONT WORK WITH FIREFOX 3.6. I tried to use
linux-sun-jdk16 port, but the plugin didn t work too. Is there an
workaround or anybody that knows how-to use java plugin within
firefox 3.6?

   
   I just portinstall firefox3, which right now will give you Firefox
   3.5.9, and java works ;-)
  
  The OP requested help with Firefox-3.6, not with older deprecated
  versions. Perhaps when version '4' is released, support for Java in
  '3.6.x' will become available.

Dear Jerry,

as CEO of FreeBSD Multinational Corporation Incorporated, please allow 
me to personally apologise for this unforgiveable lapse by our 'Keep 
FreeBSD 100% Firefox-Compatible' Department; trust me, heads will roll.

Unfortunately, I'm so high up in the hierarchy that I'm rarely familiar 
with the names of those minions down on the 13th floor hired to do the 
actual programming.  It would be most helpful if you could apportion 
blame directly to those individual/s responsible; otherwise I'll have to 
work through layers of department heads, middle management, team leaders 
and such, and you know how they can close ranks in a crisis.  It may 
take some time, but rest assured we'll catch and fire him, her or them!

Thank you for your patience during our investigation of your complaint.  
If still dissatisfied, of course I shall personally authorise the full 
refund of your purchase price.

Best of luck, Ian
(CEO FMCI, SENSAUMA, and bar)

  If you have received this message by mistake, it must be my mistake
  for sending it to the wrong address; silly me eh?  Common law holds
  that any communication I send you is, failing prior confidentiality
  agreements by you, yours to communicate to whomever you wish.  This
  message is in plain text so cannot contain any virus, worm or clue,
  except that language itself is a virus, so a clue to cans of worms.
  No guarantees can be given of any of it making the slightest sense.
  Any conclusions you jump to are yours to keep.  No change is given.
  Long, officious disclaimers make me appear important, if officious.
  Caveat Bloggor!  Life is risky and not nohow permanent anyway ^}=___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Java plugin with Firefox 3.6

2010-06-07 Thread bdsfbsd

On Mon, 07 Jun 2010 06:46:16 -0400, Harry Matthiesen Jensen
free...@elgert.dk wrote:


The short answer would be not yet possible or just wait, will come
later... which in my world not is an answer anyone can use..



I've been looking for some indication as to how much later later is..  
one week, one month, one year..?


bds
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Java plugin with Firefox 3.6

2010-06-07 Thread Márcio C . G .

As this link (http://forums.freebsd.org/showthread.php?t=10570) says, JAVA 
PLUGIN WONT WORK WITH FIREFOX 3.6.
I tried to use linux-sun-jdk16 port, but the plugin didn t work too.
Is there an workaround or anybody that knows how-to use java plugin within 
firefox 3.6?
 
Thanks in advance,
 
Marcio C. Goulart
 I'm just trying to figure out some way to make the plugin available in 
linux-sun-jdk16 work within Firefox 3.6. If it works in Firefox under Linux, 
probably should work with FreeBSD+Firefox 3.6+linuxulator etc. I guess.
If someone got an idea in that way, I would appreciate that.

Thanks in advace,

Márcio C. Goulart.
  
_
NINGUÉM PRECISA SABER O QUE VOCÊ ESTÁ COMPRANDO. LEIA MAIS SOBRE ESSE ASSUNTO 
AQUI.
http://www.microsoft.com/brasil/windows/internet-explorer/features/browse-privately.aspx?tabid=1catid=1WT.mc_id=1590___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Java plugin with Firefox 3.6

2010-06-07 Thread Jerry
On Tue, 8 Jun 2010 01:13:01 +1000 (EST)
Ian Smith smi...@nimnet.asn.au articulated:


 In freebsd-questions Digest, Vol 314, Issue 1, Message: 33
 On Mon, 7 Jun 2010 06:08:24 -0400 Jerry freebsd.u...@seibercom.net
 wrote:
   On Mon, 7 Jun 2010 07:50:04 +0200
   Harry Matthiesen Jensen free...@elgert.dk articulated:
   
   
On Mon, Jun 07, 2010 at 12:20:08AM +, Márcio C.G. wrote:
 
 As this link (http://forums.freebsd.org/showthread.php?t=10570)
 says, JAVA PLUGIN WONT WORK WITH FIREFOX 3.6. I tried to use
 linux-sun-jdk16 port, but the plugin didn t work too. Is there
 an workaround or anybody that knows how-to use java plugin
 within firefox 3.6?
 

I just portinstall firefox3, which right now will give you
Firefox 3.5.9, and java works ;-)
   
   The OP requested help with Firefox-3.6, not with older deprecated
   versions. Perhaps when version '4' is released, support for Java in
   '3.6.x' will become available.
 
 Dear Jerry,
 
 as CEO of FreeBSD Multinational Corporation Incorporated, please
 allow me to personally apologise for this unforgiveable lapse by our
 'Keep FreeBSD 100% Firefox-Compatible' Department; trust me, heads
 will roll.
 
 Unfortunately, I'm so high up in the hierarchy that I'm rarely
 familiar with the names of those minions down on the 13th floor hired
 to do the actual programming.  It would be most helpful if you could
 apportion blame directly to those individual/s responsible; otherwise
 I'll have to work through layers of department heads, middle
 management, team leaders and such, and you know how they can close
 ranks in a crisis.  It may take some time, but rest assured we'll
 catch and fire him, her or them!
 
 Thank you for your patience during our investigation of your
 complaint. If still dissatisfied, of course I shall personally
 authorise the full refund of your purchase price.

I honestly enjoy satire. That said, it does not change the fact that a
serviceable version of Java, suitable for Firefox-3.6, does not exist
within the FreeBSD framework. A quick investigation of other operating
systems would seem to indicate that FreeBSD is virtually alone in this
regards. Now, I am sure that you have personally seen the white sheet
detailing the technical reasons for this and will be willing to share
it with me and perhaps others who might also be curious about the lack
of said product.

Now, I assume that you are familiar with the nVidia 64 bit drivers and
FreeBSD. It took years for that to be rectified. Based on that past
experience, I feel that stating that Firefox-4 might well be released
before a serviceable Java is available for version 3.6+ is a real
possibility.

Your commentary does serve to prove a very real point however. To wit:

Pointing out or stating a problem with a Microsoft product is
insightful, constructive criticism; however, doing the same for an open
source product is destructive, counter productive, flame bait.

Seriously Ian, I question whether the FreeBSD authors are more
interested in bumping version numbers than they are in producing a
fully serviceable, quality product. When was the last time you tried
getting a native FreeBSD driver for an  'N' class USB wireless
device? Drivers for chips over a year old don't exist. It just seems to
me that the priority should be on getting the present product fully
functional rather than simply bumping version numbers. Then again, that
is just my 2₵.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

I'd rather have a bottle in front of me than a frontal lobotomy.


signature.asc
Description: PGP signature


Re: Java plugin with Firefox 3.6

2010-06-07 Thread Chuck Swiger
On Jun 7, 2010, at 1:08 PM, Jerry wrote:
[ ... ]
 I honestly enjoy satire. That said, it does not change the fact that a 
 serviceable version of Java, suitable for Firefox-3.6, does not exist within 
 the FreeBSD framework.

That's pretty much accurate, if you don't want to consider running FF+Java 
under Linux emulation.  

 A quick investigation of other operating systems would seem to indicate that 
 FreeBSD is virtually alone in this regards.

The JRE from java.sun.com has binaries for Linux, Solaris, and Windows-- which 
are the officially supported Java platforms-- and one could add Apple's MacOSX. 
 If you are running FreeBSD, Plan 9, HP/UX, IRIX, AIX, or anything else, Java 
is not going to be nearly as well-supported.

If Java is critical to you, seriously consider using another platform.

 Now, I assume that you are familiar with the nVidia 64 bit drivers and
 FreeBSD. It took years for that to be rectified. Based on that past
 experience, I feel that stating that Firefox-4 might well be released
 before a serviceable Java is available for version 3.6+ is a real
 possibility.

That's entirely possible.

 Your commentary does serve to prove a very real point however. To wit:
 
 Pointing out or stating a problem with a Microsoft product is
 insightful, constructive criticism; however, doing the same for an open
 source product is destructive, counter productive, flame bait.

Like many things, different people's motives and perspective tend to shape how 
they perceive the same set of underlying facts.

 Seriously Ian, I question whether the FreeBSD authors are more
 interested in bumping version numbers than they are in producing a
 fully serviceable, quality product.

The two aren't closely related.  Major version # bumps in commercial software 
often happen because the vendor wants to sell upgrade licenses, but that 
motivation simply doesn't apply to FreeBSD.  Major version # bumps happen in 
FreeBSD primarily because of major API changes which end up making an entirely 
new version of userland libc  other libraries desirable.  

 When was the last time you tried getting a native FreeBSD driver for an 'N' 
 class USB wireless device?

Never.  The only 'N' device I have around is a Macbook Pro, and that's running 
the vendor-supplied driver which came with the device.

 Drivers for chips over a year old don't exist. It just seems to
 me that the priority should be on getting the present product fully
 functional rather than simply bumping version numbers. Then again, that
 is just my 2₵.

Hopefully you get your money's worth.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Java plugin with Firefox 3.6

2010-06-06 Thread Márcio C . G .

As this link (http://forums.freebsd.org/showthread.php?t=10570) says, JAVA 
PLUGIN WONT WORK WITH FIREFOX 3.6.
I tried to use linux-sun-jdk16 port, but the plugin didn t work too.
Is there an workaround or anybody that knows how-to use java plugin within 
firefox 3.6?

Thanks in advance,

Marcio C. Goulart

  
_
QUER FICAR SEMPRE EM CONTATO COM SEUS AMIGOS? ACESSE O MESSENGER PELO SEU 
CELULAR.
http://celular.windowslive.com.br/messenger.asp?produto=Messengerutm_source=Live_Hotmailutm_medium=Taglineutm_content=QUERFICARS82utm_campaign=MobileServices___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Java plugin with Firefox 3.6

2010-06-06 Thread Harry Matthiesen Jensen
On Mon, Jun 07, 2010 at 12:20:08AM +, Márcio C.G. wrote:
 
 As this link (http://forums.freebsd.org/showthread.php?t=10570) says, JAVA 
 PLUGIN WONT WORK WITH FIREFOX 3.6.
 I tried to use linux-sun-jdk16 port, but the plugin didn t work too.
 Is there an workaround or anybody that knows how-to use java plugin within 
 firefox 3.6?
 

I just portinstall firefox3, which right now will give you Firefox 3.5.9,
and java works ;-)

-- 
Mvh/Brgds Harry
FreeBSD 8.1-PRERELEASE #3: Compiled at Mon Jun  7 01:54:25 CEST 2010 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Eclipse causes segmentation fault in Java

2010-05-13 Thread Ondrej Majerech

Hey,

I have a fresh FBSD 8-Stable/AMD64 installation and I want to run 
Eclipse. This is what I get:


[starlight] ~  eclipse
realpath: : No such file or directory
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000825d6d985, pid=11170, tid=0xa0ae40
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM 
(1.6.0_03-p4-root_13_may_2010_21_53-b00 mixed mode)

# Problematic frame:
# C  [libglib-2.0.so.0+0x18985]  g_base64_encode_step+0xe5
#
# An error report file with more information is saved as hs_err_pid11170.log
#
# Please submit bug reports to freebsd-j...@freebsd.org
#

Mentioned file is attached.

I'm using jdk16 from ports. I have also tried with diablo-jdk from ports 
with exactly the same result.


 java -version
realpath: : No such file or directory
java version 1.6.0_03-p4
Java(TM) SE Runtime Environment (build 
1.6.0_03-p4-root_13_may_2010_21_53-b00)
Java HotSpot(TM) 64-Bit Server VM (build 
1.6.0_03-p4-root_13_may_2010_21_53-b00, mixed mode)


After Eclipse crashes like this, my system becomes unusably slow: in top 
I can see the java process using 43 GB of memory (the SIZE column) and 
being in STOP state. Java is then slowly consuming my physical memory 
until I reboot.


It is apparantely trying to dump a core:

 ls -lh ~/java.core
-rw---  1 oxyd  oxyd43G May 13 21:15 /usr/home/oxyd/java.core

I need to say this is the largest coredump I've ever seen.

Doing sysctl kern.coredump=0 and retrying Eclipse produces the same 
error but doesn't hang my machine.


I'm also unsure about the realpath: : No such file or directory 
message that appears in the output, but I don't know what it means and 
Google doesn't help much.


I'll be happy to hear any suggestions.

~ Ondra
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000825d6d985, pid=11170, tid=0xa0ae40
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM 
(1.6.0_03-p4-root_13_may_2010_21_53-b00 mixed mode)
# Problematic frame:
# C  [libglib-2.0.so.0+0x18985]  g_base64_encode_step+0xe5
#
# Please submit bug reports to freebsd-j...@freebsd.org
#

---  T H R E A D  ---

Current thread (0x000800a8e000):  JavaThread main [_thread_in_native, 
id=10530368]

siginfo:si_signo=11, si_errno=0, si_code=2, si_addr=0x000825a0d000

Registers:
RAX=0x, RBX=0x7fbec69c, RCX=0x000825dd1740, 
RDX=0x
RSP=0x7fbec660, RBP=0x00082a00, RSI=0x0007, 
RDI=0x000825a0d000
R8 =0x00082a70f6a8, R9 =0x7fbec698, R10=0x, 
R11=0x000825a0cffe
R12=0x0010254c2346, R13=0x, R14=0x, 
R15=0x0008257f1b50
RIP=0x000825d6d985, EFL=0x0001, ERR=0x0004
  TRAPNO=0x000c

Top of Stack: (sp=0x7fbec660)
0x7fbec660:   7fbec698 00080c48
0x7fbec670:   7fbec69c 00082a00
0x7fbec680:   0008254c1700 000825d6ded3
0x7fbec690:   7fbec774 
0x7fbec6a0:   0008009a8c20 00082567d600
0x7fbec6b0:    7fbfd910
0x7fbec6c0:   0008257f1ba0 000829ebca35
0x7fbec6d0:   000829ebb190 000829662280
0x7fbec6e0:   000829662289 0010
0x7fbec6f0:    
0x7fbec700:    
0x7fbec710:   0008009a8c20 0008007ee3f9
0x7fbec720:   00080c48 0008254c1700
0x7fbec730:   000829662220 0008257b22c0
0x7fbec740:   0008257f7fb0 0008256a1b00
0x7fbec750:   000800a36800 000800ab1880
0x7fbec760:   000800a9b800 000829646ed0
0x7fbec770:   ffbfd910 0020
0x7fbec780:   00060020 0008009a8c20
0x7fbec790:   00082567d600 
0x7fbec7a0:   7fbfd910 000828306150
0x7fbec7b0:    
0x7fbec7c0:    
0x7fbec7d0:    
0x7fbec7e0:    
0x7fbec7f0:    
0x7fbec800:    
0x7fbec810:    
0x7fbec820:    
0x7fbec830:    
0x7fbec840:    
0x7fbec850:     

Instructions: (pc=0x000825d6d985)
0x000825d6d975:   b6 17 48 83 c7 01 44 89 d0 48 8d 0d bb 3d 06 00
0x000825d6d985:   0f b6 37 c1 f8 02 41 83 e2 03 4c 8d 5f 01 48 98 

Stack: [0x7faff000,0x7fbff000),  sp=0x7fbec660,  free 
space=949k
Native frames: (J=compiled Java code, j

Re: Eclipse causes segmentation fault in Java

2010-05-13 Thread Jonathan Chen
On Thu, May 13, 2010 at 11:10:42PM +0200, Ondrej Majerech wrote:
 Hey,
 
 I have a fresh FBSD 8-Stable/AMD64 installation and I want to run 
 Eclipse. This is what I get:
 
 [starlight] ~  eclipse
 realpath: : No such file or directory
 #
 # An unexpected error has been detected by Java Runtime Environment:
 #
 #  SIGSEGV (0xb) at pc=0x000825d6d985, pid=11170, tid=0xa0ae40
 #
 # Java VM: Java HotSpot(TM) 64-Bit Server VM 
 (1.6.0_03-p4-root_13_may_2010_21_53-b00 mixed mode)
 # Problematic frame:
 # C  [libglib-2.0.so.0+0x18985]  g_base64_encode_step+0xe5
 #
 # An error report file with more information is saved as hs_err_pid11170.log
 #
 # Please submit bug reports to freebsd-j...@freebsd.org
 #

At a guess, you recently upgraded to GNOME 2.30; and since it's been
crashing. I just started seeing this myself since I updated yesterday.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Eclipse causes segmentation fault in Java

2010-05-13 Thread Ondrej Majerech

Jonathan Chen wrote:

On Thu, May 13, 2010 at 11:10:42PM +0200, Ondrej Majerech wrote:

At a guess, you recently upgraded to GNOME 2.30; and since it's been
crashing. I just started seeing this myself since I updated yesterday.

Cheers.


This is a fresh install, so I didn't yet have the chance to upgrade 
anything -- everything is a fresh, first-time install.


But yeah, it appears to be the case. Eclipse pulled libgnome-2.30.0 as a 
dependency (among others).


Perhaps rebuilding Eclipse with WITHOUT_GNOMEVFS=yes is worth a try. I'm 
not a Gnome user anyway.


~ Ondra
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Java in FF3.6

2010-03-06 Thread Programmer In Training
According to /usr/ports/UPDATING the Java plugin does not work in FF3.6.
Is this a Java issue, a FireFox issue or a FreeBSD issue? I just noticed
this today as I was going through looking through it because of the
thread about upgrading from perl5.8 to perl5.10 (the instructions in
UPDATING don't seem to be working for me, but that's not a concern as
I'm not looking to upgrade to 5.10, yet).

I didn't know if this question belongs here or on the -ports mailing
list, but I am not x-posting. I'll just start a discussion there
depending on how I'm informed here.
-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.
Original content copyright under the OWL http://owl.apotheon.org
Please do not CC me. If I'm posting to a list it is because I am subscribed.



signature.asc
Description: OpenPGP digital signature


Re: Java in FF3.6

2010-03-06 Thread Jerry
On Sat, 06 Mar 2010 14:30:28 -0600
Programmer In Training p...@joseph-a-nagy-jr.us articulated:

 According to /usr/ports/UPDATING the Java plugin does not work in
 FF3.6. Is this a Java issue, a FireFox issue or a FreeBSD issue? I
 just noticed this today as I was going through looking through it
 because of the thread about upgrading from perl5.8 to perl5.10 (the
 instructions in UPDATING don't seem to be working for me, but that's
 not a concern as I'm not looking to upgrade to 5.10, yet).
 
 I didn't know if this question belongs here or on the -ports mailing
 list, but I am not x-posting. I'll just start a discussion there
 depending on how I'm informed here.

Please check out this URL:

http://www.java.com/en/download/faq/firefox_newplugin.xml

I believer that the FreeBSD version of Java is several versions behind
that. Therefore, it would appear to be a FreeBSD problem.

-- 
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

Sturgeon's Law: 90% of everything is crud.



signature.asc
Description: PGP signature


[ANSWERED] Re: Java in FF3.6

2010-03-06 Thread Programmer In Training
On 03/06/10 16:57, Jerry wrote:
snip
 Please check out this URL:
 
 http://www.java.com/en/download/faq/firefox_newplugin.xml
 
 I believer that the FreeBSD version of Java is several versions behind
 that. Therefore, it would appear to be a FreeBSD problem.
 

I'll just wait for FreeBSD to update their Java. I'm not recompiling
everything currently linked against the Java I have installed (to
include OOo, which I would just upgrade to 3.2 from what I have). Too
much hassle.

Thanks (that link needs to go into UPDATING with the FF3.6 entry).

-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.
Original content copyright under the OWL http://owl.apotheon.org
Please do not CC me. If I'm posting to a list it is because I am subscribed.



signature.asc
Description: OpenPGP digital signature


Re: can I do away with most things-java?

2010-02-24 Thread Gary Kline
On Tue, Feb 23, 2010 at 11:56:18PM +0100, Torgeir Hoffmann wrote:
 Hi Gary,
 
 On 23 February 2010 23:28, Gary Kline kl...@thought.org wrote:
 
 
 
 Some years ago I thought that future java tools would have
 BSD ports that did not demand that we fetch them ourselves?
 Now, among the few things left to rebuild/update is
 diablo-jdk16.  The makefile sez to fetch
 tzupdater-1_3_25-2009u.zip.
 
 Can somebody please give me the exact URL that points to this
 file?
 
 More to the point, will a java port like openjdk free me from
 any Sun ports?  Right now, a test pkg_delete of d-jdk16 gave
 me:
 
 
 
  t...@tao:/var/db/pkg# pkg_delete diablo-jdk-1.6.0.07.02_7/
  pkg_delete: package 'diablo-jdk-1.6.0.07.02_7' is required by these other
  packages
  and may not be deinstalled:
  apache-ant-1.7.1
  freemind-0.8.1_1,1
  swt-3.5.1
 
 Anybody?
 
 
 I simply use the package for 7 with compatibility. I have no idea what is
 going on with FreeBSD Foundation and why no new
 packages for 8-RELEASE have been built. OpenJDK will partially free you. I
 tried it too, but I recall correctly you cannot build
 it without bootstrapping it with the Diablo the first time (subsequently, it
 can be built with the old version of OpenJDK on each update - please correct
 me if this is wrong).
 
 However, I never succeeded in making any browser plugin for openjdk work.
 
 If you have a problem with 'tzupdater', download the latest one from Sun's
 site and alter the checksums in
 /usr/ports/java/diablo-jdk16/distinfo with the correct checksums and size.
 
 Hope this helps,
 


It does help to the extent that I successfully built
openjdk7.  What I need to know, if you or anyone else know
is, can I now pkg_delete diablo-jdk16 --- and still have tools
like swt and freemind work?

Still cannot find the Latest tzupdater; it's like 90 links to
find the bloody thing.  Aaarrrgh.  


 
 Regards,
 
 //T

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can I do away with most things-java?

2010-02-24 Thread Warren Block

On Wed, 24 Feb 2010, Gary Kline wrote:


Still cannot find the Latest tzupdater; it's like 90 links to
find the bloody thing.  Aaarrrgh.


cd /usr/ports/java/jdk16
make config
turn off TZUPDATE

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can I do away with most things-java?

2010-02-24 Thread Gary Kline
On Wed, Feb 24, 2010 at 07:29:22PM -0700, Warren Block wrote:
 On Wed, 24 Feb 2010, Gary Kline wrote:
 
  Still cannot find the Latest tzupdater; it's like 90 links to
  find the bloody thing.  Aaarrrgh.
 
 cd /usr/ports/java/jdk16
 make config
 turn off TZUPDATE

Thanks very much for the datapoint!  It worked.  TAhis must
be the 7th time I have had to search for that bloody file 
When the build finished  I did a make deinstall and a pkgdb -Fa 
to straighten out the dependencies ... so I think I'm free of 
using any of these devel kits.  Whoever wrote openjdk7 gets a 
gold star.

 
 -Warren Block * Rapid City, South Dakota USA

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


can I do away with most things-java?

2010-02-23 Thread Gary Kline


Some years ago I thought that future java tools would have
BSD ports that did not demand that we fetch them ourselves?
Now, among the few things left to rebuild/update is
diablo-jdk16.  The makefile sez to fetch
tzupdater-1_3_25-2009u.zip.

Can somebody please give me the exact URL that points to this
file?

More to the point, will a java port like openjdk free me from
any Sun ports?  Right now, a test pkg_delete of d-jdk16 gave
me:



t...@tao:/var/db/pkg# pkg_delete diablo-jdk-1.6.0.07.02_7/
pkg_delete: package 'diablo-jdk-1.6.0.07.02_7' is required by these other 
packages
and may not be deinstalled:
apache-ant-1.7.1
freemind-0.8.1_1,1
swt-3.5.1

Anybody?

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can I do away with most things-java?

2010-02-23 Thread Torgeir Hoffmann
Hi Gary,

On 23 February 2010 23:28, Gary Kline kl...@thought.org wrote:



Some years ago I thought that future java tools would have
BSD ports that did not demand that we fetch them ourselves?
Now, among the few things left to rebuild/update is
diablo-jdk16.  The makefile sez to fetch
tzupdater-1_3_25-2009u.zip.

Can somebody please give me the exact URL that points to this
file?

More to the point, will a java port like openjdk free me from
any Sun ports?  Right now, a test pkg_delete of d-jdk16 gave
me:



 t...@tao:/var/db/pkg# pkg_delete diablo-jdk-1.6.0.07.02_7/
 pkg_delete: package 'diablo-jdk-1.6.0.07.02_7' is required by these other
 packages
 and may not be deinstalled:
 apache-ant-1.7.1
 freemind-0.8.1_1,1
 swt-3.5.1

Anybody?


I simply use the package for 7 with compatibility. I have no idea what is
going on with FreeBSD Foundation and why no new
packages for 8-RELEASE have been built. OpenJDK will partially free you. I
tried it too, but I recall correctly you cannot build
it without bootstrapping it with the Diablo the first time (subsequently, it
can be built with the old version of OpenJDK on each update - please correct
me if this is wrong).

However, I never succeeded in making any browser plugin for openjdk work.

If you have a problem with 'tzupdater', download the latest one from Sun's
site and alter the checksums in
/usr/ports/java/diablo-jdk16/distinfo with the correct checksums and size.

Hope this helps,


Regards,

//T
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Max UDP packet size + Java: weirdness

2010-02-09 Thread Nerius Landys
I'm trying to send large UDP packets between 2 programs written in the
Java programming language.  These 2 programs will be running on 2
different hosts which are far apart.  The test code for these
programs is only a few lines and is here:

  http://daffy.nerius.com/temp/BigUDPPacketTestClient.java
  http://daffy.nerius.com/temp/BigUDPPacketTestServer.java

First, I noticed that I was able to send data that is 9216 in length
between 2 FreeBSD 7.1 hosts (far apart in network distance) running
Sun JDK 1.5.0_16-p9 (compiled myself from /usr/ports/java/jdk15).
Any packet greater than this in length would not be sent, with the
following error:

Exception in thread main java.io.IOException: Message too long
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:612)
at BigUDPPacketTestClient.main(BigUDPPacketTestClient.java:24)

I then repeated these tests between 2 Linux hosts (far apart in
network distance).  One Linux host (the server) was running OpenJDK
1.6.0-b09, and the other (the client) was running Sun JDK
1.6.0_14-b08.  This time, I was able to send 35512 bytes in a UDP
packet before it crapped out.

For my particular application, I would really benefit from being able
to send large UDP packets.  Does anyone know how to increase the max
allowed size of UDP packets in a Java program?  I assume it's
something outside of the Java program, in the system or kernel or
whatnot.

Any help from network gurus would be appreciated.  Should I post this
in the freebsd-net mailing list instead?

- Nerius
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Max UDP packet size + Java: weirdness

2010-02-09 Thread Chuck Swiger
On Feb 9, 2010, at 12:41 PM, Nerius Landys wrote:
 First, I noticed that I was able to send data that is 9216 in length
 between 2 FreeBSD 7.1 hosts (far apart in network distance) running
 Sun JDK 1.5.0_16-p9 (compiled myself from /usr/ports/java/jdk15).
[ ... ]
 For my particular application, I would really benefit from being able
 to send large UDP packets.  Does anyone know how to increase the max
 allowed size of UDP packets in a Java program?  I assume it's
 something outside of the Java program, in the system or kernel or
 whatnot.

You've encountered:

% sysctl net.inet.udp.maxdgram
net.inet.udp.maxdgram: 9216

However, increasing it will guarantee that you will exceed even normal jumbo 
frame size and thus depend upon IP fragmentation / reassembly for the traffic.  
I don't consider that to be a good idea, but it might be OK for local 
traffic

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Max UDP packet size + Java: weirdness

2010-02-09 Thread Nerius Landys
 You've encountered:

 % sysctl net.inet.udp.maxdgram
 net.inet.udp.maxdgram: 9216

 However, increasing it will guarantee that you will exceed even normal jumbo 
 frame size and thus depend upon IP fragmentation / reassembly for the 
 traffic.  I don't consider that to be a good idea, but it might be OK for 
 local traffic

Wow thanks.  So it normally fits in 1 IP packet?  (What about the MTU
being like 1500 or something?)  What's wrong with fragmentation?  Any
links to explain this?  This isn't local traffic by the way, I will be
sending stuff between a data center in San Diego and a data center in
Chicago.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Max UDP packet size + Java: weirdness

2010-02-09 Thread Chuck Swiger
On Feb 9, 2010, at 12:59 PM, Nerius Landys wrote:
 % sysctl net.inet.udp.maxdgram
 net.inet.udp.maxdgram: 9216
 
 However, increasing it will guarantee that you will exceed even normal jumbo 
 frame size and thus depend upon IP fragmentation / reassembly for the 
 traffic.  I don't consider that to be a good idea, but it might be OK for 
 local traffic
 
 Wow thanks.  So it normally fits in 1 IP packet?

Normal use of UDP is for un-sequenced data which can fit entirely within a 
single packet, where some drops, out-of-order delivery, etc don't matter.  
(Classic example is realtime streaming, where stream-based guarantees that TCP 
makes is exactly what you don't want...)

 (What about the MTU being like 1500 or something?)

In that case, the most data per UDP packet you can send would be 1472 bytes.

 What's wrong with fragmentation?  Any links to explain this?

If you're lucky, then it's simply much slower than using PMTU datasize.  
Anything in the path which does NAT, VPN tunnelling, IPsec, or the like is 
probably going to have to reassemble all of the fragmented packets, adjust 
IPs/etc for NAT or break them up again for the new MTU for the case of tunnels, 
refragment the packets, redo checksums, etc.

Google is your friend; the first few links like:

  http://en.wikipedia.org/wiki/IP_fragmentation
  http://www.nil.si/ipcorner/IP_Fragmentation

If you're not lucky, an intermediate router or firewall will simply drop the 
traffic entirely; maybe you will see an ICMP message, or maybe not, but it will 
be up to the app to deal with retransmitting the data using smaller sizes.

Regards,
-- 
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: which java on 8-release

2010-02-05 Thread Chuck Robey
Rob Farmer wrote:
 On Thu, Feb 4, 2010 at 4:25 PM, Steve Franks bahamasfra...@gmail.com wrote:
 Hi,

 Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
 and gave up.  I see still no diablo for 8.  What is the best way
 forward (and how am I so dense that no one else has even asked this
 question, I must be on the wrong track, no?)  I saw a few posts about
 having to install diablo in order to build openjdk, so that's out
 too...what is the 'magic' port that people use?  I just want to run
 all the apps that need java, I don't plan to write any java on my own.
 
 Diablo should work on 8 with the misc/compat7x port - I'm running
 diablo-jdk16 on -current without any problems.
 

Why are you insisting on diablo?  The jdk16 port (which is the Sun version of
Java) is so stable that it's unreal, and builds trivially easy.  It works so
perfectly that you really *ought to* use it to build the 3.5 version of eclipse.
 Using eclipse for Java, C, or Python is so good that nothing else makes sense.
 Probably others too, but I use it for python, C, and Java.  If you think that
eclipse is merely another editor, stand by for a shock.  I use the $15
vi/eclipse plugin, so I have a interface that looks much (command-wise) like
vim.  I really don't buy software too often, but geeze, this is just too good to
pass up.

It's the fact that FreeBSD's native jdk1.6 is solid beyond all expectations that
makes eclipse available.  I've been running it from FreeBSD-current, starting
java back at 8.0.  I've actually been running FreeBSD-current for, I dunno,
since last millenium?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


which java on 8-release

2010-02-04 Thread Steve Franks
Hi,

Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
and gave up.  I see still no diablo for 8.  What is the best way
forward (and how am I so dense that no one else has even asked this
question, I must be on the wrong track, no?)  I saw a few posts about
having to install diablo in order to build openjdk, so that's out
too...what is the 'magic' port that people use?  I just want to run
all the apps that need java, I don't plan to write any java on my own.

Thanks,
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: which java on 8-release

2010-02-04 Thread Rob Farmer
On Thu, Feb 4, 2010 at 4:25 PM, Steve Franks bahamasfra...@gmail.com wrote:
 Hi,

 Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
 and gave up.  I see still no diablo for 8.  What is the best way
 forward (and how am I so dense that no one else has even asked this
 question, I must be on the wrong track, no?)  I saw a few posts about
 having to install diablo in order to build openjdk, so that's out
 too...what is the 'magic' port that people use?  I just want to run
 all the apps that need java, I don't plan to write any java on my own.

Diablo should work on 8 with the misc/compat7x port - I'm running
diablo-jdk16 on -current without any problems.

-- 
Rob Farmer


 Thanks,
 Steve
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: which java on 8-release

2010-02-04 Thread Nerius Landys
 Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
 and gave up.  I see still no diablo for 8.  What is the best way
 forward (and how am I so dense that no one else has even asked this
 question, I must be on the wrong track, no?)  I saw a few posts about
 having to install diablo in order to build openjdk, so that's out
 too...what is the 'magic' port that people use?  I just want to run
 all the apps that need java, I don't plan to write any java on my own.

I compiled Java 1.5 from ports on 8.0 (both on i386 and on amd64).

 cd /usr/ports/java/jdk15/
 make install clean
(Then follow directions about downloading tarballs and placing them in
/usr/ports/distfiles/ .)

Along the way to building this port, it automatically installed the
compat-7 mentioned above, as well as the diablo JDK.  When the install
was all finished, I uninstalled the diablo JDK so that I'd have just
my freshly-compiled JDK 1.5 installed.

I'm sure building JDK 1.6 from ports is similar:

 cd /usr/ports/java/jdk16/
 make install clean

I prefer JDK 1.5 because it's simpler and has less dependencies, but
that's just me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: which java on 8-release

2010-02-04 Thread Jonathan Chen
On Thu, Feb 04, 2010 at 05:25:57PM -0700, Steve Franks wrote:
 Hi,
 
 Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1
 and gave up.  I see still no diablo for 8.  What is the best way
 forward (and how am I so dense that no one else has even asked this
 question, I must be on the wrong track, no?

You need to install compat7 and diablo-6. This will enable you to
build your 'seed' openjdk6 port; which you can package and transfer to
other hosts. You can remove compat7 and diablo-6 once openjdk6 has
been installed; as openjdk6 can be used to rebuild itself during
upgrades.

Cheers.
-- 
Jonathan Chen j...@chen.org.nz
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: tweak FreeBSD 8 for optimal java/weka performance

2010-01-05 Thread Simon Olofsson
On Mon, 2010-01-04 at 14:28 -0800, Greg Lewis wrote:
 On Mon, Jan 04, 2010 at 06:54:22AM -0800, Dino Vliet wrote:
  Are there any other tweaks I should think of to get as much RAM for
  my java programs?

 IIRC there is an option to tell the JVM to use as much RAM as possible,
 but I don't recall it off the top of my head.  There should be some docs
 on this on the main Java site at Sun and they will be equally relevant to
 FreeBSD as they are to any other OS.

http://java.sun.com/javase/technologies/performance.jsp
is a good starting point.
There are many articles and books available for maximizing Java
performance. Maybe the weka people also have some advice.

Regards
Simon

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: tweak FreeBSD 8 for optimal java/weka performance

2010-01-05 Thread Dino Vliet


--- On Mon, 1/4/10, Greg Lewis gle...@eyesbeyond.com wrote:


From: Greg Lewis gle...@eyesbeyond.com
Subject: Re: tweak FreeBSD 8 for optimal java/weka performance
To: Dino Vliet dino_vl...@yahoo.com
Cc: freebsd-questions@freebsd.org, gle...@freebsd.org, si...@olofsson.de
Date: Monday, January 4, 2010, 11:28 PM


On Mon, Jan 04, 2010 at 06:54:22AM -0800, Dino Vliet wrote:
 Dear freebsd people,
 ?
 in a few days I will install freebsd 8.0 amd64 on my 8GB RAM dual core
 machine and use the system as a application server. I will install
 the /usr/ports/textproc/weka toolkit, a program written in java. I
 will use the diablo jdk port in /usr/ports/java.
 ?
 Due to the nature of the research I will be doing I will need to max
 out my machine for optimal java performance. For example, I will use
 the?-Xmx7g flag frequently to set?the maximun java heap size?to 7GB.
 ?
 Are there any other tweaks I should think of to get as much RAM for
 my java programs?
 Like building custom and small kernel, in order to minimize te size
 of the kernel?
 ?

I'd recommend using openjdk6 instead of Diablo if you want to maximise
performance.  Diablo is getting old and isn't available natively for 8.x
(its runs as a compatible binary with the compat7x port installed).

IIRC there is an option to tell the JVM to use as much RAM as possible,
but I don't recall it off the top of my head.  There should be some docs
on this on the main Java site at Sun and they will be equally relevant to
FreeBSD as they are to any other OS.

-- 
Greg Lewis                          Email   : gle...@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : gle...@freebsd.org
Thanks for the advice, but isn't weka depandent on diablo-jdk-1.6.0.07.02_7, so 
I guess I'll have to do something (change makefile to what?) before I install 
weka? 
 
Thanks
Dino



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


tweak FreeBSD 8 for optimal java/weka performance

2010-01-04 Thread Dino Vliet
Dear freebsd people,
 
in a few days I will install freebsd 8.0 amd64 on my 8GB RAM dual core machine 
and use the system as a application server. I will install the 
/usr/ports/textproc/weka toolkit, a program written in java. I will use the 
diablo jdk port in /usr/ports/java.
 
Due to the nature of the research I will be doing I will need to max out my 
machine for optimal java performance. For example, I will use the -Xmx7g flag 
frequently to set the maximun java heap size to 7GB.
 
Are there any other tweaks I should think of to get as much RAM for my java 
programs?
Like building custom and small kernel, in order to minimize te size of the 
kernel?
 
Let me know,
thanks in advanced,
Dino



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: tweak FreeBSD 8 for optimal java/weka performance

2010-01-04 Thread Greg Lewis
On Mon, Jan 04, 2010 at 06:54:22AM -0800, Dino Vliet wrote:
 Dear freebsd people,
 ?
 in a few days I will install freebsd 8.0 amd64 on my 8GB RAM dual core
 machine and use the system as a application server. I will install
 the /usr/ports/textproc/weka toolkit, a program written in java. I
 will use the diablo jdk port in /usr/ports/java.
 ?
 Due to the nature of the research I will be doing I will need to max
 out my machine for optimal java performance. For example, I will use
 the?-Xmx7g flag frequently to set?the maximun java heap size?to 7GB.
 ?
 Are there any other tweaks I should think of to get as much RAM for
 my java programs?
 Like building custom and small kernel, in order to minimize te size
 of the kernel?
 ?

I'd recommend using openjdk6 instead of Diablo if you want to maximise
performance.  Diablo is getting old and isn't available natively for 8.x
(its runs as a compatible binary with the compat7x port installed).

IIRC there is an option to tell the JVM to use as much RAM as possible,
but I don't recall it off the top of my head.  There should be some docs
on this on the main Java site at Sun and they will be equally relevant to
FreeBSD as they are to any other OS.

-- 
Greg Lewis  Email   : gle...@eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology  FreeBSD : gle...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


  1   2   3   4   5   6   7   8   9   >