Re: Cannot build jdk16

2011-03-05 Thread Greg Lewis
On Fri, Mar 04, 2011 at 07:51:40PM +0300, Ruslan Mahmatkhanov wrote:
 04.03.2011 14:23, Redd Vinylene ??:
  Hello!
 
  /usr/ports/java/jdk16 instructs me to manually fetch
  tzupdater-1_3_34-2010o.zip and put it in /usr/ports/distfiles - this file
  however is no longer available and has been replaced by
  tzupdater-1_3_35-2011b. So what's the best way of installing jdk16 despite
  of this? Rename tzupdater-1_3_35-2011b to tzupdater-1_3_34-2010o.zip and
  make -DNO_CHECKSUM?
 
  Many thanks!
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=155270

...was committed earlier today.

-- 
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


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


Re: java/jdk16 vulnerability?

2009-09-28 Thread Greg Lewis
On Mon, Sep 28, 2009 at 12:10:48PM +0200, cpghost wrote:
 Freenet (http://www.freenetproject.org/) on my FreeBSD/amd64 system
 complains about an old and vulnerable Java version:
 
   Your installed version of Java is vulnerable to a severe remote
   exploit (remote code execution!). You must upgrade to at least Java
   5 update 20 or Java 6 update 15 as soon as possible. Freenet has
   disabled any plugins handling XML for the time being, but this
   includes searching and chat so you should upgrade ASAP!

We're almost certainly vulnerable.  The jdk16 port is at Update 3.

   See http://www.cert.fi/en/reports/2009/vulnerability2009085.html for
   details.
 
   Also, please do not use Thaw or Freetalk. The UPnP plugin is
   enabled, it might present a risk if you have bad guys on your LAN,
   but without it Freenet will not be able to port forward and will
   have severe problems.
 
 I'm running java/jdk16:
 
 phenom# java -version
 java version 1.6.0_03-p4
 Java(TM) SE Runtime Environment (build 1.6.0_03-p4-root_08_sep_2009_17_05-b00)
 Java HotSpot(TM) 64-Bit Server VM (build 
 1.6.0_03-p4-root_08_sep_2009_17_05-b00, mixed mode)
 
 On 7.2-STABLE:
 
 phenom# uname -a
 FreeBSD phenom.cordula.ws 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Sep  8 
 10:43:26 CEST 2009 r...@phenom.cordula.ws:/usr/obj/usr/src/sys/GENERIC  
 amd64
 
 Is that version of Java really vulnerable? If yes, why doesn't
   # portaudit -Fda
 report it as such, and could you please update the java/jdk16 port?

We need an entry in the VUXML database I guess.

Updating java/jdk16 is going to be a slow process.  There are lots of
changes between Update 3 and Update 15.  I've partially merged Update 4,
but obviously that still leaves many to go...

-- 
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


Re: Using javavmwrapper

2006-04-06 Thread Greg Lewis
On Wed, Apr 05, 2006 at 03:28:26PM -0500, Jeff Cross wrote:
 Can anyone give me some guidance in using javavmwrapper?  I have
 searched high and low (I know someone will post the link I have
 overlooked) but can't seem to find any detailed information on how to
 use it. I understand that there are some environment variables I can use
 to choose between different VMs (linux-sun-jdk-1.4.2, jdk-1.4.2, and
 jdk-1.5.0) but I can't seem to locate anything.

Try 'man javavm'.

 Also, does it only help when compiling ports that use Java or will it
 work to run an application with a different VM?

Its primary purpose is to run applications with different VMs.

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


Re: Plugin Error Handling

2004-08-22 Thread Greg Lewis
On Sun, Aug 22, 2004 at 04:48:11PM -0400, Bob Perry wrote:
 Hope you can point me in the right direction with this
 problem.  I find the following error message when
 running Mozilla:
 
 LoadPlugin: failed to initialize shared library
 /usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
 [/usr/local/jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so:
 Undefined symbol _vt$16nsQueryInterface]

The browser plugin for jdk13 does not work with Mozilla 1.7 at present.
You need to use the plugin from jdk14 instead.

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