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.
Related
I'm learning Haskell and I need to install Haskell plugin on Eclipse.
I have first installed Eclipse Kepler and then installed the Haskell plugin from http://eclipsefp.sf.net/updates. The plugin installation went ok but the Haskell perspective is not visible at Window > Open Perspective > Other. It's visible at Help > Installation Details, though.
I've come across similar problem at this post:
Plugins installed on Eclipse not visible
I've applied all suggestions: I've started Eclipse as root, I've changed the installation path from /Applications to ~/, I've given write access to plugins folder, no luck.
I've erased Eclipse Kepler and installed Luna, still no luck.
I've updated the JRE to Java SE 7 [1.7.0_71] and edited the Java JRE section at Eclipse preferences, still no luck.
Any help is appreciated, thanks.
My OS X Lion 10.7.4 64bit
I've solved it. The problem seems to stem from multiple java versions installed on Lion.
I've come across this post salesforce Eclipse plugin and there I noticed that multiple Java versions on one system might cause trouble on plugins and in case of saleforce, that was causing trouble on Eclipse plugin or perspective.
Then I've taken a second look at Haskell's Eclipse plugin page Haskell Eclipse plugin and there I saw the java version 7 was emphasized.
So I reckoned that some java version mismatch might be causing Eclipse not to display the Haskell plugin. Btw, my installing the latest (1.7.0_72) version of java didn't change any possibel version mismatch on my Mac OS X, because though I successfully installed 1.7.0_72 version (using the file jdk-7u72-macosx-x64.dmg which I downloaded from oracle.com), the $ javac -version still returned 1.6.0_29.
Then I've found this post multiple java installations on mac os x and added the following line to eclipse.ini
-vm
/Library/Java/JavaVirtualMachines/jdk1.7.0_72.jdk/Contents/Home/bin/java
before -vmargs, and that finally solved the problem. Now the Haskell plugin and perspective comes up. That's fine.
vvSo hi guys, im tryin to install groovy 1.7 plugin to my eclipse indigo but i can't..
I followed instructions on this page but unfortunetly it doesn't work.
What i mean by doesn't work?
Even without installing 2.0 compiler i have it
After installing Groovy-Eclipse without the extra compilers, the Groovy 1.8 compiler is active by default. And the Groovy 2.0 compiler becomes active after installing the extra compiler.
And as it says i shouldn't have but well meaby its an old description.
Then i'm goin to Preferences -> Groovy -> Compiler page, and guess what i can only switch to 1.8.6.xx-MORENUMBERS-e37-REALEASE. When i do i only can switch back to 2.0.7.xx-MORENUMBERS-e37-REALEASE.
So where is this 1.7 compiler because i dont see it there?
So i followed up with adding to eclipse.ini -groovy.compiler.level 17, still doesn't work.
I tried to change file bundles.info, but there is no 1.7 version.
So someone know how i can get this compiler 1.7? I was searching it so long, and i only found Groovy Eclipse plugin that only operates on 2 version (above one).
Thanks in advance for an answer!
It's been a while since i last saw 1.7 in the plugin. I guess it got outdated and removed. This page (near the bottom) tells that Groovy 1.7 is deprecated for GGTS (which, i guess, uses Groovy-eclipse):
Deprecating of Groovy 1.7 support
The Groovy 1.7 support in GGTS has been deprecated. It is still possible to install it for this release, but it will be removed in future releases. If you need to install the Groovy 1.7 compiler, then:
Go to Help -> Install new software
Choose the Springsource update site to work with
Uncheck Group items by category, As shown in the image:
Is that doesn't work, maybe you can try to install an older version of Groovy-eclipse from http://dist.springsource.org/.
Has anyone had success installing lint4j on Eclipse Juno and having the options show up in the preferences pane? My installation shows the lint4j entry in the tree view but there are no options available for it.
Eclipse 4.2 64 bit on Mac OSX
tl;dr : Check Update 2 below. I think I might have found the problem.
I have the same setup as you do (OSX Mountain Lion + Eclipse Juno Java EE 64 Bit)
I just tried installing lint4j on my spanking new Eclipse Juno (Java EE). Please take a look at this screencast to see how it went.
After installing I had no errors in the Error Logs (as in the video) and my Eclipse preferences had a Lint4j preference option (which did not have any options though) :
I followed the exact same steps for Eclipse Indigo and got the exact same results. So looks like the problem may not be with Eclipse (Indigo / Juno) but with the plugin or the OS we are trying this under. I noticed that the official snapshot too has a the 'missing' options :
Update
This, from here, seems ominous :(
Lint4j has been developed and tested extensively on MacOSX 10.2 and
10.3
And we are trying it out on OSX 10.6 or 10.7 and 10.8 !!
I have just registered to their mailing list (mailto:majordomo#jutils.com), will put up a question there regarding this. Hope we are not missing something obvious from Lint4j's documentation.
Update 2
Ah mate, I think I found the problem. We are looking in the wrong place !! I realized this after going through the lint4j intro here.
There are no options to configure in Eclipse preferences. All the lint4j options are available on the project. So if you go into a Java project's properties, there you see the Lint4j preference and the expected options like so :
I'm currently developing on a Macbook Pro running Lion, and I'm having an issue where line numbers (and all other features that are on that panel including breakpoints, section hiding/expanding, etc) don't scroll with the source code in the editor.
I found this filed bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=294929), but what I need to do to fix this isn't clear. I'm hoping to avoid a re-install and re-import of all my projects and other plug-ins.
Thoughts? Is it an STS issue (not really sure what version of Eclipse STS relates to)?
Check what version of Eclipse you are running off of. Did you install STS from the installer or the zip? Or did you start with a vanilla eclipse and use the update sites?
This problem happened with Eclipse 3.7.0 and Lion. This was a bug in SWT, but I believe that it is fixed in 3.7.1.
To find the Eclipse version click on :
STS -> about STS -> Installation details -> plugins -> org.eclipse.swt.
It should be 3.7.0 or 3.7.1 or 3.7.2. If it is 3.7.0, then you should update to 3.7.2 (released last week).
Just to make this clearer, my "solution" was to change display settings so that my 2nd monitor was my main one.
If somebody comes up with a better solution, I'll un-check this and check the new response.
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.