How do get classpath at runtime? 2004-08-12 - By Martin Olsson
Back I have a very basic Java question, suppose I start my program with:
java -classpath build;etc;myDir com.company.Main
How can I then get the classpath from my code? ie how can I do a:
String classpath = WHAT_IS_SUPPOSED_TO_BE_HERE; System.out.println("this is my classpath: " + classpath);
regards, martin olsson
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|