Login  Register

Re: Ubuntu/Linux misc. problems: jogl, j3d, netbeans...

Posted by LordSmoke on Mar 11, 2019; 4:16pm
URL: https://forum.jogamp.org/Ubuntu-Linux-misc-problems-jogl-j3d-netbeans-tp4039493p4039599.html

gouessej wrote
Hello

Why do you mean by "full JDK"? Yes installing only the headless part of OpenJDK isn't enough.

Your second problem might be caused by a combination of a particular version of Mesa and your hardware. Let me know which graphics card you use and which version of Mesa you use with Ubuntu 18.04, I assume it's at least Mesa 18.
MacOS: 10.14.3
Virtualbox: 6.0
Ubuntu: 18.04.01

Playing the role of the naive user, if you try to run a java program in a "clean", "new" install of the above Ubuntu, you get the message:

java

Command 'java' not found, but can be installed with:

sudo apt install default-jre            
sudo apt install openjdk-11-jre-headless
sudo apt install openjdk-8-jre-headless

which directs the user to install the headless version. An end-user would not necessarily think it necessary to install the development kit (jdk) over just the headless runtime (jre) as instructed.

Installing the default gets you OpenJDK 10.0.2, but not sure if headless or jdk.