Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-20-2006, 12:50 PM
|
#1
|
Member
Registered: Jan 2006
Location: taiwan
Posts: 156
Rep:
|
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
|
|
|
11-20-2006, 12:59 PM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Take a look at post 4 in this thread.
|
|
|
11-20-2006, 01:11 PM
|
#3
|
Member
Registered: Jan 2006
Location: taiwan
Posts: 156
Original Poster
Rep:
|
Quote:
Originally Posted by reddazz
Take a look at post 4 in this thread.
|
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
|
|
|
11-20-2006, 06:17 PM
|
#4
|
Member
Registered: Jan 2006
Location: taiwan
Posts: 156
Original Poster
Rep:
|
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
|
|
|
11-22-2006, 04:57 AM
|
#5
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
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 03:01 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|