VisibleTesla icon indicating copy to clipboard operation
VisibleTesla copied to clipboard

Can I run VT on Java 8?

Open timidri opened this issue 9 years ago • 4 comments

I tried to build it, but it does not run. And I cannot download JDK 7 anymore. Any suggestions? Also, I could not find any new released versions...

timidri avatar Aug 05 '15 21:08 timidri

VisibleTesla is known not to not work with Java 1.8, in particular the changes to JavaFX are incompatible. Someone may wish to do the port over to the newer version of JavaFX, but it's not on anyone's list that I know of.

JDK1.7 can be downloaded here: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

jpasqua avatar Aug 06 '15 01:08 jpasqua

Thanks! I have downloaded Java 7. After getting the source and building I see:

➜  VisibleTesla git:(master) ant -Dplatforms.Default_JavaFX_Platform.home=$JAVA_HOME bundle-VisibleTesla
Buildfile: /Users/dimitri/Projects/VisibleTesla/Tesla/VisibleTesla/build.xml

get-version:
     [echo] Version: 0.50.08

bundle-VisibleTesla:
[bundleapp] Creating app bundle: VisibleTesla
   [delete] Deleting /Users/dimitri/Projects/VisibleTesla/Tesla/VisibleTesla/dist/VisibleTesla.app/Contents/PlugIns/jdk1.7.0_79.jdk/Contents/Home/jre/lib/jfxrt.jar
     [move] Moving 1 file to /Users/dimitri/Projects/VisibleTesla/Tesla/VisibleTesla/dist/VisibleTesla.app/Contents/Java
     [move] Attempting to rename: /Users/dimitri/Projects/VisibleTesla/Tesla/VisibleTesla/dist/VisibleTesla.app/Contents/Java/jfxrt.jar to /Users/dimitri/Projects/VisibleTesla/Tesla/VisibleTesla/dist/VisibleTesla.app/Contents/Java/zzz_jfxrt.jar

BUILD SUCCESSFUL
Total time: 3 seconds

After launching the app on the command line I get:

➜  VisibleTesla git:(master) open dist/VisibleTesla.app
LSOpenURLsWithRole() failed with error -10810 for the file /Users/dimitri/Projects/VisibleTesla/Tesla/VisibleTesla/dist/VisibleTesla.app.

Any ideas what I am doing wrong?

timidri avatar Aug 06 '15 20:08 timidri

Hi,

Got the same issue. Any idea to solve this ?

jjmartres avatar Sep 22 '15 11:09 jjmartres

I finally downloaded an already built version from here: http://www.teslamotorsclub.com/showthread.php/19975-VisibleTesla/page35?p=939004&viewfull=1#post939004 . That version works for me.

timidri avatar Oct 04 '15 10:10 timidri