Tagged: fx
- This topic has 4 replies, 3 voices, and was last updated 8 years, 4 months ago by harald.schlager@glyps.com.
-
AuthorPosts
-
Randall T. LaneMemberI am considering developing a JavaFX application and installing e(fx)clipse in MyEclipse 2015 for a seamless development environment? It is my understanding that MyEclipse 2015 uses version 1.7 of the JDK, while JavaFX (and e(fx)clipse) requires version 1.8 of the JDK.
I have downloaded and installed Java SDK 1.8 as well as Scene Builder 2.0 (for graphically building a JavaFX GUI). However, I am not quite sure how to install e(fx)clipse and make any necessary adjustments to the MyEclipse configuration. I also wonder whether is is a bad idea to mess with the MyEclipse configuration – where some of my Java applications (SWT) use version 1.7 of Java and a JavaFX application would need version 1.8 of Java.
I would appreciate any feedback from anyone who has experience with JavaFX and e(fx)clipse in MyEclipse 2015.
Thank you.
support-swapnaModeratorHi,
MyEclipse 2015 supports JDK 1.8. You can add the JDK 1.8 to the Installed JREs under Window > Preferences > Java and change the compiler compliance level for the project.
While MyEclipse 2015 does not have built in support for Java FX development, you can find a JavaFX/e(fx)clipse plugin for Eclipse and try installing to MyEclipse. Make sure the version of the plugin is compatible with Eclipse Luna (4.4) which is the base for MyEclipse 2015. You can try configuring them the same way as in Eclipse.
I have not tried it myself, but you can give it a shot and see if it works.
Let us know if you see any issues.
harald.schlager@glyps.comParticipanthi ! If I try this I get at startup a error message that the fx tool is disabled because I should pass a -vm parameter with the path to my java 8 installation or make java 8 to my system default. I am on mac osx 10.11.1. can i pass the -vm option anywhere in myeclipse ? I have put the java 8 jdk installion into the „installed JRE“ editions in the preferences. thanks !
Attachments:
You must be logged in to view attached files.
support-swapnaModeratorHarald,
You can edit the myeclipse.ini file located in the MyEclipse installation directory and add the -vm parameter pointing to the Java 8 installation.
Please check this link for information about setting -vm in the MAC OSX :
https://wiki.eclipse.org/Eclipse.ini
MyEclipse is based on Eclipse so you can follow the same steps and edit the myeclipse.ini accordingly.Here is an FAQ for locating MyEclipse files and folders : https://www.genuitec.com/forums/topic/installation-where-are-the-myeclipse-files-and-folders/
Hope this helps.Let us know how it works for you.
–Swapna
MyEclipse Support- This reply was modified 8 years, 4 months ago by support-swapna.
harald.schlager@glyps.comParticipantthank you support – working 🙂
-
AuthorPosts