I have to work on a machine with Oracle JDK 8 as system JDK. JEdit 5.6 requires a newer JDK, but jedit.exe seems to rely on the system JDK and cannot be reconfigured to use a different JDK (at least I couldn't find how to do that).
JEdit 5.6 works with OpenJDK, so I could switch to it - but I can't use jedit.exe anymore, e.g. in Open with JEdit.
Can jedit.exe be told which JDK to use, and if not, can that capability be added to jedit.exe?
There is an old Windows launcher (contained in jedit403install.jar) that lets you choose your JRE after installation by calling jedinit.exe or setting paths directly in the registry under HKCU\SOFTWARE\www.jedit.org\jEditLauncher\4.0 . It still works with Windows 10 and Java 16.
Just set an environment for Jedit, then use that to launch jedit.
by environment I mean a script that defines JAVA_HOME, PATH, etc for the
jdk you want.
For building your projects, you can use Ant to load an Env with which to
build the projects. I've done this before (we needed to build using really
old jdk, and also to spawn off subprocesses under java.)
Another thought is that I had a issue with the 'system' jdk under
windows10, i think i resorted to ripping that out. the default win10 java
is messed up.
Regards
On Thu, Aug 19, 2021 at 4:26 AM will69 via jEdit-devel jedit-devel@lists.sourceforge.net wrote:
Related
Bugs: #4111