Textpad 9.6.2 issue with JDK 23

Using the Java SDK with TextPad

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

Post Reply
tebelmeners
Posts: 1
Joined: Wed Jan 01, 2025 3:29 am

Textpad 9.6.2 issue with JDK 23

Post by tebelmeners »

Hi.
I was using Textpad 9.6.2 for a java class at my school. I installed jdk23 before textpad and set my \jdk-23\bin directory in path, yet Textpad still can't detect it. I couldn't get the java SDK commands dropdown in Configure > Preferences > Tools > Add. Is there anything I should do to resolve this? Preferably without going to regedit.
I'm running Windows 11 23H2.
User avatar
AmigoJack
Posts: 548
Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:

Re: Textpad 9.6.2 issue with JDK 23

Post by AmigoJack »

Have you read Compiling Java Works, Executing Java Doesn't?
tebelmeners wrote: Wed Jan 01, 2025 3:37 am the java SDK commands dropdown
I don't think such a thing ever existed in TextPad - you basically just add your own Tools as Program to be executed:
  • To compile Java code into a .class file you have to execute javac.exe with the .java file,
  • to run a Java .class file, you have to execute java.exe with the class name (not the filename).
Post Reply