My Q is simple! I am working on a JADE framework, along with a few JAVA related platforms and frameworks for different projects. Is it advisable for me to add all the paths where my .class files will be stored in the Environment Variable manually or should a simple -cp command be used in specifying the CLASSPATH manually? Will more/excess entries in the classpath environment variable hinder performance or cause any unforeseen mistakes in future?
Thanks for your help !!
My Q is simple! I am working on a JADE framework, along with a
Share
I don’t have a CLASSPATH environment variable on any machine that I work on. I think it’s highly inadvisable.
There are a few problems with it:
Set the CLASSPATH for every project you create. For Java EE apps, know how app servers view CLASSPATH and follow suit.
Create a script file for each desktop project if the -cp entry has become oppressive.