e(fx)eclipse with eclipse Luna and Java8 - eclipse

I m trying to use e(fx)clipse with java8 and eclipse Luna on my mac (yosemite).
In a terminal : java -version gives me
java version "1.8.0_25" Java(TM) SE Runtime Environment (build
1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
In my eclipse.ini I m putting :
-vm /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
which points to my java8 folder.
In eclipse I ve set up the java8 jre.
But when I open eclipse I m still getting :
You are not running your eclipse instance with Java8 ....
I can't get where I am wrong. Any clue?
Thanks.

I had faced similar issue when I had installed JavaFX eclipse plugin in a 32bit eclipse (Luna). It seems, though you have 64bit OS and 64bit JRE/JDK, and you have setup Environment Variables, you will need 64bit Eclipse to run JavaFX under Eclipse.
Hence, make sure you have 64bit Eclipse running on your machine. If it is a 32bit machine, then there won't be any problem as neither we could install 64bit JDK or 64bit Eclipse.
I hope this solves the problem.
Thanks

Related

Eclipse not getting Launched without showing any error tried eveything

My Eclipse is not working. Every time I open my eclipse its showing the splash screen for 1 sec and then getting closed. I downloaded fresh eclipse i downloaded the new Oxygen but then also its getting closed.
Currently I am using Eclipse IDE for Java EE Developers and if I install any other version of eclipse its working !!
I am using Ubuntu 14.04 32bit, java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Java HotSpot(TM) Server VM (build 25.131-b11, mixed mode)
Other actions that I made:
I have deleted the .metadata folder.
I have reinstalled java.
I have edited the eclipse.ini file adding clean changing the memory size.
I am facing the same issue in neon ,mars and every eclipse IDE version!!
Previously I was using ubuntu 16.04 then because of eclipse issue I downgraded it to 14.04 but still the problem is not resolved.

Eclipse fire up

I'm re-installing Eclipse, after I installed Android Studio. To do so, I deleted and re-installed all Java installations. Now I can't start Eclipse even I have jdk and jre installed on my machine. I'm getting this message " A JRE and JDK must be available.
Any ideas what I suppose to do?
If you are using Windows.
Install the Eclipse according to the system you are using i.e., is it a x64 or x86, and Install the Java x64 and x86 Accordingly.
how to know my PC running the 32-bit or 64-bit version of Windows?
this should help.

Upgraded to Pydev 3 not working with eclipse 4.3 Kepler on Mac 64 bit cocoa

I have tried using a clean workspace and a fresh installation of eclipse with nothing but pydev. In all cases, I don't get the pydev configuration options or preferences or views. The plugin install goes through without a hitch and I can see pydev in the installed software also. Anybody else face the same?
PyDev 3 requires Java 7 to function. Unfortunately, the version of Java that is installed on Mac OS X is not a compatible or recent version.
You can check the current version of java on your system by typing java -version in the terminal. In order to run PyDev 3 you should have version 1.7.xxx.
To update Java you will need to install a Java Development Kit (JDK), since just installing the Java Runtime Environment (JRE) will not update the symlink at /usr/bin/java on OS X. If you think that you have installed Java 7, but java -version still gives you a version of 1.6.xxx then you probably installed the JRE instead of the JDK.
I agree with pseudocubic, In my case I just downloaded JDK8 : which by the way includes the JRE8 so pydev worked without trouble in my mac . I had to do this after installing JRE7 but when checking in console java -version it was returning 1.6 version (despite the fact that checking at java icon in system preferences says 1.7 was installed)
Install JDK8 and it's done

Ubuntu 12.04 Eclipse Indigo wont start

Please help :( My Eclipse Indigo wont launch. It shows the small blue rectangle and then hangs on that. If I then bring another window infront of this the blue square is now grey. There is no error and there is no error log file in the .eclipse folder.
My Ubuntu 12.04 has been acting funny. The software installer doesnt work and there are errors in the update manager. I finally did command line -update using apt-get and since then my eclipse has been broken.
System :
Ubuntu 12.04 X 64
java -version
java version "1.7.0_11" Java(TM) SE Runtime Environment (build 1.7.0_11-b21) Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
I've been burned in the past by the Eclipse package bundled in Ubuntu's repositories. I would recommend downloading directly from Eclipse's website and run from there.
If you're having problems launching the Ubuntu-version, extracting and running manually should give you some indication that the problem is with Java or Eclipse.

Eclipse linking JDK

I have extracted Eclipse on my C partition. I got windows 7 64 bits. Eclipse is 64 bits. But JDK is 32 bit. Once I run eclipse the pop menu is saying it can't find JDK or JRE on some sort of path. Once I run Eclipse from USB drive it works fine. What is the problem? Should I specify envorinmont variables, set classpath or something? What exactly should I do?
Best regards
Why don't you get the 64bit JDK?
Did you download any java jdk on your pc? To check, open a command prompt and launch the command java -version then javac -version If one of them fails, you need to download java jdk from oracle's website
1. If you are using windows then i will recommend you to download Windows x86 jdk-7u5-windows-i586.exe.
2. Install it... in C:\Program Files\Java\
3. Include this in your System PATH C:\Program Files\Java\jdk1.7.0_05\bin .
3. Then type java -version in your command prompt, and if you get the version of your JDK then, you have properly installed the java, and your path is properly configured.
4. Extract your Eclipse folder from the Eclipse.rar downloaded from Eclipse site.
5. You can place this Extracted Eclipse folder anywhere in the disk, but i recommend you to store it in c: drive as this C:\Program Files\eclipse
6. Now i think it should work.............
In a command prompt, a java -version should show the details of the installed JVM.
For example, a jdk7 32-bit version would show this:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) Client VM (build 23.1-b03, mixed mode, sharing)
A jdk7 64-bit version would show this:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b06)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
However, the standard JDK installation copies the java.exe and javaw.exe on the c:\Windows\System32 folder, which could be the ones that Eclipse looks for. This could get really messy if you've tried to re-install different JDK versions and you loose track of the last one you installed (or like me, if you install different versions for backwards support on some legacy projects).
To be 100% sure of the JVM used by your Eclipse, just modify the eclipse.ini file located in your eclipse/ folder so it points to the exact JVM you want. For example, add these lines if you want to use your jdk7 64-bit (check if the same folder applies):
-vm
C:\Program Files\Java\jdk1.7.0_05\bin\javaw.exe
Start Eclipse, and it should work fine.
Go to this site fore more info on the eclipse.ini configuration.
this tutorial is the only thing that worked for me with Win 64 bit.
Summary:
install
32 bit eclipse
32 bit JDK (NOT JRE)
32 bit Android SDK
Add Java to your PATH environmental variable
open eclipse.ini and add a line pointing to the JDK
I uninstalled all versions of Java from my system first.
http://envyandroid.com/archives/38/getting-started-with-android-dev-environment