ports/java/jdk16/files/patch-deploy::nscore::JavaVM5.cpp
Greg Lewis 3e2f072bb5 . On amd64 the plugin should look for the Server VM, since there is no
Client VM.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2006-07-18 23:23:02 +00:00

16 lines
648 B
C++

$FreeBSD$
--- ../../deploy/src/plugin/solaris/nscore/JavaVM5.cpp.orig Thu Jun 15 18:08:03 2006
+++ ../../deploy/src/plugin/solaris/nscore/JavaVM5.cpp Thu Jul 6 17:10:37 2006
@@ -1289,7 +1289,11 @@
// jre/lib/<arch>/classic/libjvm.so
// (to permit hotspot later). So this path is only needed for 1.2
+#if defined(_ALLBSD_SOURCE) && defined(__amd64__)
+ sprintf(buff, "LD_LIBRARY_PATH=%s/lib/%s/server:%s/lib/%s",
+#else
sprintf(buff, "LD_LIBRARY_PATH=%s/lib/%s/client:%s/lib/%s",
+#endif
jre, LIBARCH, // libjvm
jre, LIBARCH); // libjava, libawt & friends