Page 1 of 1

dynamic java CLASSPATH?

Posted: Mon Apr 09, 2001 4:17 pm
by Daniel Blacklock
I frequently change my classpath before compiling java programs.
Is there any way to dynamically set the value of CLASSPATH for Textpad (maybe a parameter)?
javac -classpath ?????
But would Textpad preempt it and use the registry value anyway?

TIA

Re: dynamic java CLASSPATH?

Posted: Tue Apr 10, 2001 5:53 am
by HY
In preferences --> tools --> compile java, you have the option to supply parameters, e.g. -classpath c:\some\path. If you'd like to specify the classpath for each compile, you should check "prompt for parameters". TextPad will then prompt you for compile parameters *each time* you compile.

If you have different projects with different classpaths, it might be a good idea to make several javac tools, each with its own classpath...

Hope this helps
HY