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
dynamic java CLASSPATH?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: dynamic java CLASSPATH?
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
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