Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

j2sdkee1.3.1 JAVA_HOME not set to jdk error

 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might want to reboot the computer.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic