Date: Tue, 11 Mar 2003 15:44:18 +0900 (JST) From: Munehiro Matsuda <haro@kgt.co.jp> To: antony.t.curtis@ntlworld.com, gsemones@treenleaf.com Cc: freebsd-java@FreeBSD.ORG Subject: Re: FreeBSD JDK 1.3.1_p8 HotSpot not loading from jre/lib/ext??? Message-ID: <20030311.154418.74756297.haro@kgt.co.jp> In-Reply-To: <200303102336.27557.antony.t.curtis@ntlworld.com> References: <200303071217.AA1322254492@mail.mstar2.net> <200303102336.27557.antony.t.curtis@ntlworld.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Tue_Mar_11_15:44:18_2003_031)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, Attached "untested" patch should fix the problem. Hope this helps, Haro From: Antony T Curtis <antony.t.curtis@ntlworld.com> Date: Mon, 10 Mar 2003 23:36:25 +0000 ::If I start the jvm with :: ::java -Djava.ext.dirs=/usr/local/jdk1.3.1/jre/lib/ext :: ::it works properly. Somewhere along the line it is not being set properly. :: ::At least now, I can use jsse in Konqueror :) :: ::On Friday 07 March 2003 8:17 pm, Guerry Semones wrote: ::> G'morning, ::> ::> We compiled FreeBSD JDK 1.3.1-p8 for HotSpot yesterday on FreeBSD ::> 4.8-RC. ::> ::> I loaded up the jre/lib/ext dir with the three JSSE 1.0.2 jar ::> files (for SSL support). Unfortunately, upon trying to compile my ::> classes, these jar files were not found. If I explicitly added ::> the three jar files to my classpath, all was happy, so I know it ::> is not an issue with the jar files. ::> ::> Also, 1.3.1-p6 (classic vm) which we have on another server loads ::> these classes just fine. ::> ::> Is there a known issue with 1.3.1-p8 not loading jar files from ::> jre/lib/ext, or some other hoop to jump through (perhaps due to ::> using hotspot?) ::> ::> Thanks, ::> ::> Guerry =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp ----Next_Part(Tue_Mar_11_15:44:18_2003_031)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-hotspot-os_linux.cpp" --- ../../hotspot1.3.1/src/os/linux/vm/os_linux.cpp.org Thu Mar 6 09:34:47 2003 +++ ../../hotspot1.3.1/src/os/linux/vm/os_linux.cpp Tue Mar 11 09:23:17 2003 @@ -359,6 +359,7 @@ #define I18N_JAR "/lib/i18n.jar" #define SUNRSASIGN_JAR "/lib/sunrsasign.jar" #define CLASSES_DIR "/classes" +#define EXTENSIONS_DIR "/lib/ext" #define DEFAULT_LD_LIBRARY_PATH "/usr/lib" /* See ld.so.1(1) */ char *v; /* tmp var */ @@ -431,7 +432,7 @@ char * buf; // buf = malloc(strlen(sprops.java_home) + sizeof(MAXNAMLEN)); buf = malloc(MAXNAMLEN); - snprintf(buf, MAXNAMLEN, "%s", sprops.java_home); + snprintf(buf, MAXNAMLEN, "%s" EXTENSIONS_DIR, sprops.java_home); sprops.ext_dirs = buf; } } ----Next_Part(Tue_Mar_11_15:44:18_2003_031)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030311.154418.74756297.haro>