LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 11-20-2006, 12:50 PM   #1
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Rep: Reputation: 30
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
 
Old 11-20-2006, 12:59 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Take a look at post 4 in this thread.
 
Old 11-20-2006, 01:11 PM   #3
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Original Poster
Rep: Reputation: 30
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
 
Old 11-20-2006, 06:17 PM   #4
sunhui
Member
 
Registered: Jan 2006
Location: taiwan
Posts: 156

Original Poster
Rep: Reputation: 30
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
 
Old 11-22-2006, 04:57 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 04:04 AM
Java runtime environment WayneS Linux - Software 2 09-07-2006 05:47 PM
java runtime environment neilcpp Slackware 1 12-21-2005 06:45 AM
Java runtime environment Ab3n Linux - Newbie 5 08-19-2005 04:50 PM
Java Runtime Environment J_Szucs Linux - Newbie 6 02-18-2002 07:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration