• 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 in java

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi everyone

i need information about classpath,how can we create in command promt?
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by swathi chava:
...i need information about classpath,how can we create in command promt?


Do you mean how to specify a classpath when compiling or running Java from the command line? Or do you mean how to set a system classpath using the command line? (If you mean setting a system classpath, please tell us what operating system you're running.)
 
swati cha
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am using windows operating system ,i want to set the path and classpath to run the java program .
 
marc weber
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by swathi chava:
i am using windows operating system ,i want to set the path and classpath to run the java program .


But is using the command prompt a requirement?

To set the system PATH to run Java, see step 4 of Sun's installation instructions for Windows (Java 1.6).

I recommend that you do not set any system CLASSPATH.

Let us know if this solves your problem.
[ August 13, 2007: Message edited by: marc weber ]
 
swati cha
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks for your reply ,i need one more information regarding java software,from wher i have to download
 
Ranch Hand
Posts: 136
1
Netscape Opera Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by swathi chava:
thanks for your reply ,i need one more information regarding java software,from wher i have to download



http://java.sun.com/javase/downloads/index.jsp
 
reply
    Bookmark Topic Watch Topic
  • New Topic