• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

classpath settings

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A very basic question..

I have jdk1.3 and jdk1.4
i want to set my classpath to 1.4 version..
i set the system variable 'classpath'to the location 1.4 is installed. But am not able to compile my appliaction.
Please help.

Additional help on 'path' variable and 'JAVA_HOME' will be very appreciated.
 
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I guess you are using Windows as your OS.
Well classpath is used when your java code is compiling or executing.
You need to set path to bin folder of jdk
Example assume you jdk is installed in c:\jdk1.4
Then polling to set the path
Set path=%path%;c:\jdk1.4\bin;
reply
    Bookmark Topic Watch Topic
  • New Topic