• Post Reply Bookmark Topic Watch Topic
  • New Topic

using java 7  RSS feed

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have resumed working on java after an extremely long gap. i used to work with the jdk 5.
I 'am now trying java 7. there seems to be some revolutionarry changes. when i was using jdk 5, on the command line, i had to set the path and classpath variables which i used to run as batch file without which i could not execute the code.
Yesterday, I had installed java 7 on my system and after setting the path in the environment variable, i could run a simple java code on the command line. I had not set the "classpath" as i found the jdk 7 hierarchy quite confusing. yet without the classpath variable, i could run my code. i wish you could expand on the modifications that have been brought about.
Furthermore, has the classpath become redundant. if not, what is the location of the lib folder that needs to be used.

i'd really eager to know more.

thanks,
Komal
 
Saloon Keeper
Posts: 4036
94
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is (and was) never necessary to use the CLASSPATH variable; it works the same as before.

On www.oracle.com you'll find extensive release notes of what's new, somewhere around here.
 
Ranch Hand
Posts: 4696
8
Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
after an extremely long gap

i have to laugh. i am returning after a really long time. i still write java2
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!