Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting an class path

 
lokesh rajarathnam
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

Any one assist me for an setting an class path for an j2se 1.4 kit.

I expect it will be in steb by step...

i would tried like this
1. Instaling j2se1.4
2. opening the command prompt
3. set Path=c:\j2se1.4.0\bin
it will work correctly but the third step must to give every time i open the command prompt.
I want how to set path in Environment ?
how can i proceed....?
 
Red Smith
Ranch Hand
Posts: 136
1
Netscape Opera Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by lokesh rajarathnam:
Hello all,

Any one assist me for an setting an class path for an j2se 1.4 kit.

I expect it will be in steb by step...

i would tried like this
1. Instaling j2se1.4
2. opening the command prompt
3. set Path=c:\j2se1.4.0\bin
it will work correctly but the third step must to give every time i open the command prompt.
I want how to set path in Environment ?
how can i proceed....?


In your example you appear to be setting PATH, not CLASSPATH. Both of those Environment variables can be set in the Windows Control Panel: Start->Control Panel-menu-item -> System-menu-item -> Advanced-tab -> Environment Variables-button
 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is you OS?.
If you are using XP ......then right click
on My Computer->Advanced->Environment Variables
and there set yor path and class path
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15435
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JDK Installation Instructions explain exactly how to set the PATH variable for different versions of Windows. See point 5 in the instructions ("Update the PATH variable").
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please note that PATH and CLASSPATH are different things. Setting a system PATH is a good idea, but I would not set a CLASSPATH at this point.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic