• Post Reply Bookmark Topic Watch Topic
  • New Topic

J2SDK1.4.2_02 Setup help  RSS feed

 
Angela D'souza
Ranch Hand
Posts: 469
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I downloaded & installed J2SDK1.4.2_02 on Windows 2000 machine. After that do I need to set Environmental variables or any classpath or path to the system? If so, how & what should I set? Any online Installation release notes for this?
Thanks,
Angela
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note that the J2SDK will probably work "out-of-the-box", without adjusting any system environment variables.
That said, I like to set the JAVA_HOME environment variable to refer to the home directory of the J2SDK installation, as some other apps that use Java (such as Tomcat) like it to be set.
I also like to set the CLASSPATH to assure that it includes the current working directory, denoted by a dot - "." .
I also like to set the PATH to include %JAVA_HOME%/bin on Windows and $JAVA_HOME/bin on Linux. This way, I can easily invoke the Java compiler and the JRE from any working directory at the command line.
If you're asking about the details of how to set an environment variable in Windows 2000, take a look at our wiki page on how to set the CLASSPATH.
 
Kate Sky
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I installed j2sdk1.4.2_02, I put the sdk straight in my C: drive, so I just stuck
;C:\j2sdk1.4.2_02\bin
on the end of my PATH variable. If you've put it somewhere else obviously it will be ;C:\somewhere else\..\j2sdk1.4.2_02\bin
That was the only thing needed to get it going.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kate in the sky,
Welcome to JavaRanch!
We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy. (It's the "obviously fictitious" rule that would seem to be in question.)
Thanks Pardner! Hope to see you 'round the Ranch!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!