File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 2922
    
    5
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).
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
 
Don't get me started about those stupid light bulbs.
 
subject: j2sdkee1.3.1 JAVA_HOME not set to jdk error