JRE 1.5 to 1.6 Issue on Macbook Pro - eclipse

I'm running Mac OS X 10.5.8 and have been trying over the past couple of hours to upgrade to Java 6. In doing this, I hope to change my Eclipse JRE to 1.6 so I can properly sync with my group's repo.
So far, no dice. I've downloaded every update I could find on Apple's website, and checked Java Preferences over and over. Not only is Java 6 not even there, the window that pops up looks nothing like the one detailed on Apple's website or any of the "upgrade to 1.6" tutorials I've found online.
I am now at a bottleneck: is this an Eclipse problem? I don't think so, since my OS X seems to be pooping itself, but I'm fairly sure there are literally no more updates for me to even try and install. Argh.

The newest way to configure runtimes, or JREs, is using Applications/Utilities/Java Preferences.app. The order defined here controls which version is used by browsers.
The command line utility /usr/libexec/java_home will show the current default version. Well-behaved scripts should be using the result of this command over the JAVA_HOME environment variable.
If you did an upgrade you also might have to manually change your JDK pointer.
cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo rm -fr CurrentJDK
sudo ln -s 1.6 CurrentJDK
If if you try all this and you still only have a 1.5 install, remember that 1.6 is only supported on hardware that is Intel and x64 compatible. This affects some of the first MacBooks that included an Intel chip.

Related

Eclipse cant be opened on mac m1

I have installed eclipse aarch64 based on my mac m1.
it was working fine. later i stopped using it for few days but i was just opening and closing it just to make sure it is not crashing as it used to happen with x64 version.
Now even with aarch it is crashing.
As soon as i open it via launch pad it says 'The apllication 'Eclipse'can't be opened.
Here are the details of eclipse and jdk version that i am currently using.
Eclipse: eclipse-java-2021-12-R-macosx-cocoa-aarch64
Jdk: jdk-17_macos-aarch64_bin
I've just had the same problem on the second launch of Eclipse from a fresh installation. The solution was to re-sign the app with an ad-hoc signature:
sudo codesign --force --deep --sign - /Applications/Eclipse.app

Eclipse process sleep on Mac OS X El Capitan beta 3 with JDK 8

I upgraded my system to OS X El Capitan beta 3 and installed JDK 8 downloaded from Oracle. However, other applications that use JDK is run correctly, only Eclipse Mars stuck on the logo. I checked that stats of Eclipse process. It showed that Eclipse process is sleeping.
Is there any methods to make Eclipse run correctly? Thanks for any helpful answer.
This has been reported to Eclipse as high priority bug 472259. Currently there is no solution.
This is mentioned in release notes for OS X El Capitan DP3 [1]
Some versions of Eclipse may hang during use.
See [2] Apple Dev Forums for workaround by reverting back to DP2
[1] https://developer.apple.com/library/prerelease/mac/releasenotes/General/rn-osx-10.11/
[2] https://forums.developer.apple.com/thread/8776
This bug its already resolved in Beta 4.
According to reports on https://forums.developer.apple.com/thread/8776#30240 the 4th beta release (public beta 2) fixes the problem. I'm having the same issue but I'm not able to upgrade and test it myself since I'm away from my backup drive for the next few days and I'm not upgrading without that restore point. I'll try to update this with more info once I've tried the upgrade myself.
Update: Just upgraded and Eclipse loads without any problems.
there is a makefile that you can use on project to compile and fix this problem.
https://github.com/mnott/javamake

Ipython option not visible in spyder

I just installed the macports versions of spyder and ipython onto my macbook pro running osx 10.8. There does not seem to be a way to open an ipython console from this version of spyder. That is, there is no mention of ipython in the Interpreters menu, nor in the preferences.
Has someone come across this problem and might know how to fix it? Many thanks.
Adrian
(Spyder dev here) According to this page the latest stable IPython version in MacPorts is 1.0, which is unsupported by Spyder 2.2.3 (our latest stable release).
We are working right now to make it compatible for our next release (i.e. 2.2.4), which will be available in two weeks.

Eclipse Segfault (OSX)

I'm trying to start eclipse but it crashes after the splash screen and before workspace selection.
This is version: eclipse-java-indigo-SR2-macosx-cocoa-x86_64 on Mac OSX 10.6.8
Launching the eclipse application or executing the alias from a shell ./eclipse (or Eclipse.app/Contents/MacOS/eclipse) results in a segfault.
$ ./eclipse
Invalid memory access of location 0x10 rip=0x7fff84ea3164
Segmentation fault
However, it runs successfully as the super user
$ sudo ./eclipse
Password:
This is fine for now, but running eclipse under sudo does not seem like a good idea.
To make this stranger still, this installation of eclipse worked fine a few months ago and I can't remember changing anything relevant.
Any ideas?
Thanks
Before taking the more drastic step of re-installing Java on Mac OS X [not always so simple :( .. ], I just reinstalled Eclipse and ADT - and it worked fine after that.
In my case, I got this error trying to start Eclipse
Segmentation fault: 11
.. it appeared in my Eclipse ADT setup after I updated the Android SDK for Google Play Services, and then tried to run Installation of update from "Check For Updates". Restarting the computer did not help.
I would try re-installing Java. The Apple installer might thwart you, but this can help get past it.
I'd suggest getting the Java Developer package from Apple, as it includes Javadoc and source for the core libraries.

Mindstorms: Installation of NXT2.0f3 patch for Mac OS X Lion 10.7.3

Looking for installation help with NXT2.0f3 patch for mindstorms NXT 2.0 software on iMac w/ Lion 10.7.3. Base software installation from CD works fine (with some minor glitches once the NXT software is running that I can live with for now); however, applying the NXT2.0f3 patch (so-called Mac software fix downloaded from Lego) prevents NXT application startup. On application startup, I get an alert box with
"Error Code: 1003" stating that a required file is broken. The program then quits. No useful information (like a filename) there.
Mindstorms phone support wasn't helpful. Did reinstalls five times with different combinations of 32-bit and 64-bit mode OSX. Also tried installing driver package from CD to repair installation (after patch was applied), but no luck.
Has anyone got this working, or run into the same problem and have a solution?