Selecting the proper compiler

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
bjbarton
Posts: 4
Joined: Fri May 28, 2004 7:22 pm
Location: Long Island, New York
Contact:

Selecting the proper compiler

Post by bjbarton »

I have multiple versions of the Java SDK installed on my machine (1.4.2_04, 1.5.0 (beta)). I would like the default compiler to be the 1.4 version rather than the 1.5 version. Aside from giving the exact path to the compile in the Registry for TextPad, is there some way to tell TextPad that the default compiler is NOT the latest and greatest one specified under the JavaSoft Registry entries?
To thine own self be true...
User avatar
s_reynisson
Posts: 939
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

I'd create one set of tools by hand, leave the "latest and greatest" as the default and use the one made by hand to access older versions.
See talleyrand's post here http://textpad.com/forum/viewtopic.php?t=5110 . HTH
Then I open up and see
the person fumbling here is me
a different way to be
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Instead of editing the registry, you could configure the tool within Textpad:
Configure - Preferences.
Open the Tools branch, select the compile tool.
Uuups - the Command: field is grayed out...
Don't know why but it seems the Registry edit is the only way to edit a tool's command.

Then there is still the chance to add a new tool with the correct javac.exe ...
Post Reply