Get your CodeRanch badge!*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes j2sdkee1.3.1 JAVA_HOME not set to jdk error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "j2sdkee1.3.1 JAVA_HOME not set to jdk error" Watch "j2sdkee1.3.1 JAVA_HOME not set to jdk error" New topic
Author

j2sdkee1.3.1 JAVA_HOME not set to jdk error

Rajesh Chandra
Ranch Hand

Joined: Jun 13, 2005
Posts: 55
I have j2sdk1.4.1 in my system and Im using windows xp professional
I installed j2sdkee1.3.1 in c drive and I set the path in my autoexec.bat as follows
set PATH=%PATH%;C:\j2sdk1.4.1\bin;C:\j2sdkee1.3.1\bin;
set CLASSPATH=.;%J2EE_HOME%\bin;%J2EE_HOME%\lib\j2ee.jar;%J2EE_HOME%\lib\locale
I also tried adding to JAVA_HOME ENVIRONMENT VARIABLE j2sdkee1.3.1 .
I have j2sdk1.4.1 in c drive and its running fine but when i type j2ee - verbose in c:\j2sdkee1.3.1\bin I get this error
set JAVA_HOME TO valid path of jdk
Since Im a novice I'd appreciate any help forthcoming
regs rajesh
Agasthya Iyer
Greenhorn

Joined: Sep 22, 2005
Posts: 17
You can try adding a JAVA_HOME system variable by going to Control Panel-->System-->Advanced-->Environment variables-->System Variables-->New-->JAVA_HOME-->c:\j2sdk1.4.1\bin

HTH

Regards,
Agasthya


SCJP, SCWCD1.4, SCBCD1.3
Rajesh Chandra
Ranch Hand

Joined: Jun 13, 2005
Posts: 55
i have j2sdk1.4.1 which runs fine and I already have my JAVA_HOME SET TO j2sdk1.4.1 .Now I tried with your idea too Agastya but its not working>The same error is indicated.
regs rajesh
Agasthya Iyer
Greenhorn

Joined: Sep 22, 2005
Posts: 17
You might want to reboot the computer.
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
Originally posted by Agasthya Iyer:
c:\j2sdk1.4.1\bin


Unless you installed it to c:\j2sdk1.4.1\bin, I think that should be c:\j2sdk1.4.1 (i.e. drop the \bin).


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
manis yadav
Greenhorn

Joined: Nov 09, 2005
Posts: 10
i am also having same sort of problem
can anyone give us link which gives directions
how to set the classpath in j2ee
Rajesh Chandra
Ranch Hand

Joined: Jun 13, 2005
Posts: 55
hey manis I tried it successfully.you too try it
Now im able to start the server and the deployment tool.However the cloudscape database doesnt start.
regs rajesh
 
jQuery in Action, 2nd edition
 
subject: j2sdkee1.3.1 JAVA_HOME not set to jdk error
 
Similar Threads
To run J2ee Server 1.3.1
Help Needed to run j2ee1.3.1
Help - J2EE RI Server not running
J2EE 1.3.1 RI Server set up problem
cant start the j2ee server?