How can i get it to work on OSX snow leopard? When I go new java project in eclipse it has a lib error saying that it is unbound. 1.6 is definetly there as far as i can tell :/
On windows and linux everything just worked but i have been searching for hours now and cannot seems to fnd out how to solve this.
Solved - I installed the latest version instead (helios) and this seems to have fixed the problem.
Related
I want to play a bit with the recently released Java 8 on OS X Mavericks, but have problems configuring the compiler compliance level to anything beyond 1.7.
I tried this with a recent Luna build (4.4.0M6) as well as with Kepler (4.3 SR2), patched with this.
What am I doing wrong?
I think I got it right now. I just re-installed the patch from here and now 1.8 is shown as compiler level.
I think while the "About" dialog showed me that the patch was installed, it probably wasn't done properly, because it updated other plugins / the IDE to SR2 at the same time.
Anways, this is solved.
I had some problems getting Java SE 8 to work in Eclipse too. I followed the Instructions in the Eclipse wiki for the Eclipse Kepler SR2 (4.3.2) version.
After that, I could choose version 1.8 instead of 1.7, which solved the problem. The instructions seem to link to the same patch you used, though, but maybe you missed something important.
today I opened my eclipse as usual but I wasn't able to do anything. All menus except the preferences are grayed out, disabled.
I'm on a Mac Mavericks Beta 6 & Eclipse Kepler
Do u have any hints for me? Restart of Eclipse or the complete mac didn't solve the problem
Did you by any chance install the Mavericks beta 6? This is a known issue, Apple messed up Java. The work around is to install the full JDK http://support.apple.com/kb/DL1572. Solved the problem for me.
Change eclipse startup jvm (Oracle jdk ) will fix this problem, i use oracle jdk 1.7.0_25 and all menu are ok now.
Add this line into Eclipse.ini
-vm
/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/bin/java
Good luck
Installing this also solved the problem for me.
http://support.apple.com/kb/DL1572.
I've installed on my iMac (Mac OS X 10.6.6) the Java update which contains the version 1.6.0_24 of the jdk. I think this update has changed the directory structure of the jdk, so now I'm not able to configure it on eclipse.
Before the update my eclipse were linked to this path: /System/Library/Frameworks/JavaVM.Framework/Versions/Current/Home which actually seems wrong.
Now I'm not able to link my eclipse to the jdk. Maybe this is the right path: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home, but 1.6.0.jdk isn't a directory, so I'm not able to choose it in eclipse.
Has anyone experienced this problem? How can I solve it?
For me following jdk link is working fine on Eclipse:
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
It was my fault. I had also a jdk 1.5 manually installed and the update moved it away.
Probably I made a mistake restoring my jdk-1.5 to its correct location.
To solve my issue I just had to restore the symbolic links /System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK, which has to point to /System/Library/Frameworks/JavaVM.Framework/Version.
the follow directory works:
/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home
without "System"
Execute /usr/libexec/java_home on the terminal shell.
It will display a list of all your installed JDKs
On MacOSX 10.10, jdk 1.8 with IntelliJ, I use:
/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/
I was missing CurrentJDK folder as well, but I'm running Mac OS El Capitan.
In El Capitan it's not possible to modify the folder /System/Library/Frameworks/JavaVM.framework/Versions, since it is under the /System folder and SIP is protecting it (you can disable SIP, but I do not recommend), a custom CurrentJDK soft link is not allowed.
I got some legacy software which was searching for CurrentJDK, and there was no way to update the path. To solve it I had to install Java for OS X 2015-001 provided by apple (it's Java 1.6), which fixed the Versions subfolder structure by pointing to the old Java 1.6. Not the best, but it fixed my error!
Somehow stupid question, I have to admit - hope it won't cost me too many points.
To make it clear: I would also be happy if you can help me find the reason for the crashes. I wouldn't expect a precise answer.
However, I don't see why my Eclipse is crashing (freezing) all the time. Mostly when I save a file.
For some reason, crashes seem to increase lately...
I use Eclipse Helios (Version: 3.6.1) and Java version 1.6.0_20 (OpenJDK Runtime Environment (IcedTea6 1.9.2) (6b20-1.9.2-0ubuntu2) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)) on Ubuntu 10.10 (64-Bit).
Thank you!
Try installing sun-java6-jdk from the partnerrepository.
What version of Firefox you are using? The problem may be in xulrunner. Firefox 4 uses xulrunner 2.0, but eclipse 3.6 aren't compatible with it. Read more here
i also have had problems running eclipe with the open jdk, you can try to install sun's/oracle's jdk and run eclipse with it
Have you tried using the sun-jdk instead to run Eclipse and see if that helps?
Since adding the Blackberry Java classes from their website into eclipse, I've had it where eclipse will randomly close, with no discernible pattern, rhyme, error or reason. Here is the environment/software packages that I am using:
Windows XP SP2
Eclipse v3.5.1
Blackberry Java Plugin v1.1.1.200911111641-15
Blackberry Java SDK 4.5.0.21
I've tried the usual steps of complete uninstall and reinstallation of Eclipse and the accompanying plugins on multiple systems with the same configuration, including one that had a fresh install of Windows XP SP2. Upgrading to Eclipse 3.6 didn't work (the plugin wont' install as it's the wrong version), nor the downgrade to 3.4 for the same reason. I also increased the heap size to 512 (system has two gigs of memory) as some research into Eclipse doing this type of thing with Groovy was resolved that way, but again, no dice. Eclipse works great when the blackberry plugins are not installed, and no entries of errors or issues in the event log are helping to show what the issue with these plug-ins might be.
So if anyone has ran into this issue, and even better, has a solution, I'd love to hear about it. Thanks in advance.
EDIT: An additional to my issue, autoComplete with the Blackberry SDK seems to make this extremely unstable, like almost a guaranteed crash. Is this fixable at all?
For anyone that loads this question up trying to find a solution, I've never found a fix. It seems to be a bug with this version of the IDE. If there is a fix, please post.
Did you try to downgrade Eclipse to 3.4 (Ganymede)? I experienced similar issues when I tried upgrading Eclipse to something greater than 3.4.2.
I think the problem is with the plugin, not the IDE. Eclipse has always been stable for me until I installed the BB plugin. Since then it crashes all the time. Since I've installed the release (non-beta) version of the plugin that was recently released I can't even get my project to build.
This could be a manifestation of this bug in Eclipse. Check your C:\eclipse directory for files like hs_err_pidxxxx.log. The file goes on to explain this error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x753ba053, pid=3144, tid=5820
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [USP10.dll+0x1a053]
I've been experiencing this as well. It's completely debilitating. It causes Eclipse to just up and crash out of nowhere (and programming in a language as verbose as Java without Content-Assist is insane).
The bug has been fixed in Eclipse 3.6M7, but unfortunately I can't get the JDE Plug-in to install in the latest release candidate.
This is a known issue with Eclipse 3.5.X and has been fixed for 3.6.0
Bug Ticket link on Eclipse Bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=283503
Looks like we are stuck with this until the next update to the BB Eclipse plugin.