Closed psy-q closed 10 years ago
No, it doesn't require JDK 1.8. In fact, I haven't tried that version yet. VT does require a stable release including JavaFX. I've found that versions starting with 7u25 seem to be reliable.
When this has happened to other users, the typical problem is that there are multiple versions of java installed on their system. When they double-click VisibleTesla.jar, an old version of java is being launched by the system and giving the error. When they go to the command line and check the java version, they get the new version of java.
So, the first thing to do is try launching VisibleTesla from the command line using the open jdk. If that works, then the situation described above is very likely the issue.
Hmm, the only Java I have installed is 7u55-2.4.7-1 from OpenJDK.
I tried to build VisibleTesla from scratch now, and I get:
BUILD FAILED
/tmp/VisibleTesla/nbproject/build-impl.xml:87: The J2SE Platform is not correctly set up.
Your active platform is: Default_JavaFX_Platform, but the corresponding property "platforms.Default_JavaFX_Platform.home" is not found in the project's properties files.
Either open the project in the IDE and setup the Platform with the same name or add it manually.
For example like this:
ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.Default_JavaFX_Platform.home" in a .properties file)
or ant -Dplatforms.Default_JavaFX_Platform.home=<path_to_JDK_home> jar (where no properties file is used)
Total time: 0 seconds
Something about this JavaFX is not to VisibleTesla's or Ant's liking, it seems.
I've looked into this a bit. There is an incompatibility between the JavaFX configuration of 7u55 and earlier versions. This results in the error you are seeing. I am building with 7u25. You might try that.
I have been unable to make VisibleTesla on Linux work with the JavaFX technology in the OpenJDK. It's not clear to me that there is anything I can do to resolve the incompatibility. I tried it again using Oracle's JRE (version 1.7.0_60) and it works just fine.
I was unable to get VT to start with OpenJDK 7u71 or Oracle's JRE 8u20 or 8u25. My solution was to download Oracle's 7u72, extract it into the VT folder, and create a script to launch VT using that version. Works great and doesn't mess with my system-level Java.
./jdk1.7.0_72/bin/java -jar ./VisibleTesla.jar
@pilot51: I'm glad it's working. It is definitely incompatible with all versions of Java 1.8. It will take a concerted effort to make it work with the new version of JavaFX.
Hi there, I'm having te same issue when trying to build with ant on Ubuntu with open jdk and even on windows with oracle jdk 1.7.0_60.
Any suggestions would be highly appreciated.
I'm using OpenJDK:
And get an error that the Java version isn't new enough. Does VisibleTesla really require Java 8/JDK 1.8?