Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / February 2005

Tip: Looking for answers? Try searching our database.

How to manage maximum CLASSPATH variable length?Plz help.

Thread view: 
dvatsal@gmail.com - 17 Feb 2005 17:58 GMT
How to meet limited length of CLASSPATH variable.?
How to set auto. the CLASSPATH variable as needed?
Oscar kind - 17 Feb 2005 19:38 GMT
> How to meet limited length of CLASSPATH variable.?
> How to set auto. the CLASSPATH variable as needed?

If you want to "utomatically" set the classpath as needed, you can set the
CLASSPATH variable to a common setting, or not at all when the current
directory is fine.

Then when starting an application, either use the -jar switch with a JAR
file (and set the classpath in the manifest), or use -classpath/-cp
switches to set the classpath (doesn't work with -jar).

Note however, that the standard classes are always in the classpath, and
that the default classpath is the current directory.

You can of course, create a small script that calls the JVM with the
correct classpath if you don't want to type it again and again.

Signature

Oscar Kind                                    http://home.hccnet.nl/okind/
Software Developer                    for contact information, see website

PGP Key fingerprint:    91F3 6C72 F465 5E98 C246  61D9 2C32 8E24 097B B4E2



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.