Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can I run VT on Java 8? #118

Open
timidri opened this issue Aug 5, 2015 · 4 comments
Open

Can I run VT on Java 8? #118

timidri opened this issue Aug 5, 2015 · 4 comments

Comments

@timidri
Copy link

timidri commented Aug 5, 2015

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...

@jpasqua
Copy link
Owner

jpasqua commented Aug 6, 2015

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

@timidri
Copy link
Author

timidri commented Aug 6, 2015

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?

@jjmartres
Copy link

Hi,

Got the same issue. Any idea to solve this ?

@timidri
Copy link
Author

timidri commented Oct 4, 2015

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants