settings
Chuck Robey
chuckr at chuckr.org
Tue Mar 22 12:57:10 PST 2005
Greg Lewis wrote:
> On Tue, Mar 22, 2005 at 08:33:03PM +0000, Chuck Robey wrote:
>
>>Greg Lewis wrote:
>>
>>>The launcher sets up its own LD_LIBRARY_PATH, so what you have it set to
>>>doesn't really matter.
>>>
>>>Can you try:
>>>
>>>env _JAVA_LAUNCHER_DEBUG=yes /usr/local/jdk1.5.0/bin/java -version
>>>
>>>Part of the output should be where it thinks the JVM is. Make sure this
>>>looks correct. You may also want to post the output so we can see what
>>>it looks like.
>>
>>I *really* appreciate this mail, and it did in fact prompt me to make
>>some changes. Didn't (in the final analysis) fix anything, but I think
>>maybe it's more correct.
>>
>>I had my installation in /usr/local/jdk1.5.0, but after inspecting that
>>listing, it seemed that a more correct path included the version (p1) so
>>now my installation is in /usr/local/jdk1.5.0-p1. I added safety
>>softlinks to jdk and jdk1,5.0, andd I tested at each and every midpoint,
>>in case some casae I was transient-ing the magic point. Wasn't.
>
>
> Does this mean that you're compiling things yourself rather than using
> the java/jdk15 port?
I did use the port (my thanks for it, it was great!), but now that it's
not working, I feel somewhat justified in some experimentation. Heck,
my port doesn't even have a pkg-plist.
>
>
>>OK, I still have the same exact error message:
>>
>>july:chuckr:~/jdk/Argo:#149>java -jar argouml.jar
>>Error: could not find libjava.so
>>Error: could not find Java 2 Runtime Environment.
>>
>>if you felt it would do any good, I would even give you a login to
>>inspect the premises, so to speak (just mail me a ssh line).
>>
>>I only have this one demo app, ArgoUML, if you have another you trust,
>>could you give me a url?
>
>
> Well, could you please try the command I suggested above, adjusting for
> wherever your installation is. I'd _really_ like to see the debug
> output from it.
>
Oh, I'm sorry, I really should have done that. OK, before I changed the
address (when it was to jdk1.5.0) the output was:
july:chuckr:~/jdk/Argo:#136>env _JAVA_LAUNCHER_DEBUG=yes
/usr/local/jdk1.5.0/bin/java -version
----_JAVA_LAUNCHER_DEBUG----
JRE path is /usr/local/jdk1.5.0/jre
jvm.cfg[0] = ->-server<-
jvm.cfg[1] = ->-client<-
jvm.cfg[2] = ->-hotspot<-
jvm.cfg[3] = ->-classic<-
jvm.cfg[4] = ->-native<-
jvm.cfg[5] = ->-green<-
6908 micro seconds to parse jvm.cfg
Default VM: server
Does `/usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so' exist ... yes.
----_JAVA_LAUNCHER_DEBUG----
JRE path is /usr/local/jdk1.5.0/jre
jvm.cfg[0] = ->-server<-
jvm.cfg[1] = ->-client<-
jvm.cfg[2] = ->-hotspot<-
jvm.cfg[3] = ->-classic<-
jvm.cfg[4] = ->-native<-
jvm.cfg[5] = ->-green<-
62 micro seconds to parse jvm.cfg
Default VM: server
Does `/usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so' exist ... yes.
JVM path is /usr/local/jdk1.5.0/jre/lib/amd64/server/libjvm.so
357784 micro seconds to LoadJavaVM
JavaVM args:
version 0x00010002, ignoreUnrecognized is JNI_FALSE, nOptions is 1
option[ 0] = '-Djava.class.path=.'
java version "1.5.0-p1"
JJava(TM) 2 Runtime Environment, Standard Edition (build
1.5.0-p1-chuckr_21_mar_2005_19_20)
Java HotSpot(TM) 64-Bit Server VM (build
1.5.0-p1-chuckr_21_mar_2005_19_20, mixed mode)
july:chuckr:~/jdk/Argo:#137>
After I added the "-p1" to the path and to the string you supplied, I got:
july:chuckr:~/jdk/Argo:#153>env _JAVA_LAUNCHER_DEBUG=yes
/usr/local/jdk1.5.0-p1/bin/java -version
----_JAVA_LAUNCHER_DEBUG----
JRE path is /usr/local/jdk1.5.0-p1/jre
jvm.cfg[0] = ->-server<-
jvm.cfg[1] = ->-client<-
jvm.cfg[2] = ->-hotspot<-
jvm.cfg[3] = ->-classic<-
jvm.cfg[4] = ->-native<-
jvm.cfg[5] = ->-green<-
85 micro seconds to parse jvm.cfg
Default VM: server
Does `/usr/local/jdk1.5.0-p1/jre/lib/amd64/server/libjvm.so' exist ... yes.
----_JAVA_LAUNCHER_DEBUG----
JRE path is /usr/local/jdk1.5.0-p1/jre
jvm.cfg[0] = ->-server<-
jvm.cfg[1] = ->-client<-
jvm.cfg[2] = ->-hotspot<-
jvm.cfg[3] = ->-classic<-
jvm.cfg[4] = ->-native<-
jvm.cfg[5] = ->-green<-
64 micro seconds to parse jvm.cfg
Default VM: server
Does `/usr/local/jdk1.5.0-p1/jre/lib/amd64/server/libjvm.so' exist ... yes.
JVM path is /usr/local/jdk1.5.0-p1/jre/lib/amd64/server/libjvm.so
45700 micro seconds to LoadJavaVM
JavaVM args:
version 0x00010002, ignoreUnrecognized is JNI_FALSE, nOptions is 1
option[ 0] = '-Djava.class.path=.'
java version "1.5.0-p1"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0-p1-chuckr_21_mar_2005_19_20)
Java HotSpot(TM) 64-Bit Server VM (build
1.5.0-p1-chuckr_21_mar_2005_19_20, mixed mode)
july:chuckr:~/jdk/Argo:#154>
I hope this is right?
More information about the freebsd-java
mailing list