setup java environment
When I want to open the sql port , it pop the error "Error occurred during initialization of VM" , I have already setup the PATH and JAVA_HOME as below , but still not work , can advise what is wrong ? thx
PATH=/usr/java/j2sdk1.4.2_02/bin:$PATH Java Location: /usr/java/j2sdk1.4.2_02/bin export JAVA_HOME=/usr/java/j2sdk1.4.2_02 |
Take a look at post 4 in this thread.
|
Quote:
thx reply, I tried but not work I have a founding , when run "java -version" , it pop Error occurred during initialization of VM Unable to load native library: /usr/java/j2sdk1.4.2_02/jre/lib/i386/libjava.so: sy mbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference can advise what is wrong ? thx |
thx reply ,
it is strange , I also set the CLASSPATH to the java path , but stlll not work ... , I have another server , hv the same settings but it is work , can advise if I want to totally copy all the environment setting ( eg. $PATH , $SET , export ) from one server to another server ? thx |
I've done a bit of searching and it seems like its a bug that affects some Redhat based distros. Have you tried using Java 5 (jdk 1.5).
|
All times are GMT -5. The time now is 11:50 AM. |