Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

j2sdkee1.3.1 JAVA_HOME not set to jdk error  RSS feed

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rajesh Chandra
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to reboot the computer.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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).
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!