Tiny Core Extensions > TCE Bugs

OpenJDK Path Issue?

(1/2) > >>

thane:
In TCL 10, I'm trying to code and compile Java programs using the Geany editor (geany.tcz) and OpenJDK JDK 8 (openjdk-8-jdk.tcz). In the installed JDK app various executables are in /usr/local/openjdk-8/bin/, but the app sets $PATH to /usr/local/openjdk-8/jre/bin/. Geany can't find e.g. javac (nor can it be executed in a terminal), presumably because no path to the executable exists.

Am I missing something in my setup, or is this a bug?

Juanito:
Does openjdk-8-jre need to be loaded as well?

thane:
I tried the JRE and JDK extensions together, and each separately. The same path was set in all cases (/usr/local/openjdk-8/jre/bin/).  Wondering if the JDK one is supposed to set /usr/local/openjdk-8/bin/ instead, or if I'm overlooking something in the setup. I don't mind looking dumb if I can get it to work!

Thane

Juanito:
You can manually alter the $PATH variable and see if that works?

thane:
I'll try that.

Navigation

[0] Message Index

[#] Next page

Go to full version