Ubuntu 18.04 + Java 10 cannot install

DbSchema Issues
Post Reply
Posts: 2
Joined: Tue Jun 05, 2018 6:41 am

Ubuntu 18.04 + Java 10 cannot install

Post by Tecktron » Tue Jun 05, 2018 1:21 pm

I have a fresh install of Ubuntu 18.04 LTS. I cannot get Dbschema installed.
I have installed the latest Oracle Java 10 and removed the included OpenJDK, since OpenJDK failed (in exactly the same way). Yes, I have tried both with exactly the same results.
Here is the message I get when I try to run Dbschema from deb installed /opt/Dbschema or if I try and run the bash script installer:
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 1.8.0_71 and at most 1.8.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
I added INSTALL4J_JAVA_HOME=$JAVA_HOME (and have tried $JAVA_HOME/bin) in my /etc/profile where I set JAVA_HOME to point to my java install, but it didn't help. Yes I reloaded, rebooted even and it shows up in printenv so it's 100% there plus I can build and run java code and apps.
I tried running this process as sudo as well, same message.

Here's my java -version output.
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
What do I need to do in order to run this?


Posts: 74
Joined: Tue Dec 01, 2015 8:44 am

Re: Ubuntu 18.04 + Java 10 cannot install

Post by support » Wed Jun 06, 2018 8:09 am

Please try to install Oracle Java 8. We are not yet fully tested against Java10, as they removed JavaFx from their installation. We are working on this. If you don't get DbSchema 8 running, please use DbSchema 7.6 from website, this works with Swing.

Post Reply