Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse platform problems on Mac OS 10.6.4 and Java 1.6.0_22(Can't use Eclipse after jvm update)
Eclipse platform problems on Mac OS 10.6.4 and Java 1.6.0_22 [message #635405] Tue, 26 October 2010 16:37 Go to next message
Sultan Saini is currently offline Sultan Saini
Messages: 2
Registered: October 2010
Junior Member
Ever since I installed the most recent jvm update from Apple, I've been having problems with Eclipse. At first I thought it was my .metadata directory, so I deleted that. Then I tried getting older versions of Eclipse (Gallileo, Ganymede), also with the same problem.

On my machine, when I try to create a new project, Eclipse just hangs (beach ball o' death). It doesn't matter if I use my old workspace or a new one. I'm at a complete loss, and I cannot work until this is fixed. Please help!

I'm on a 64-bit Intel iMac.

Here's a partial stack trace of where I think Eclipse is stuck:
"main" prio=6 tid=114000800 nid=0x7fff70e02c20 runnable [7fff5fbfc000]
   java.lang.Thread.State: RUNNABLE
	at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
	at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
	at java.io.File.isFile(File.java:778)
	at org.eclipse.jdt.internal.launching.macosx.MacOSXVMInstallType.getDefaultSystemLibrarySource(MacOSXVMInstallType.java:179)
	at org.eclipse.jdt.internal.launching.StandardVMType.getDefaultLibraryLocations(StandardVMType.java:305)
	at org.eclipse.jdt.internal.launching.macosx.MacOSXVMInstallType.detectInstallLocation(MacOSXVMInstallType.java:112)
	at org.eclipse.jdt.launching.JavaRuntime.detectEclipseRuntime(JavaRuntime.java:1712)
	at org.eclipse.jdt.launching.JavaRuntime.initializeVMs(JavaRuntime.java:2596)
	- locked <117d9d9d0> (a java.lang.Object)
	at org.eclipse.jdt.launching.JavaRuntime.getDefaultVMId(JavaRuntime.java:519)
	at org.eclipse.jdt.launching.JavaRuntime.getDefaultVMInstall(JavaRuntime.java:464)
	at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup.getDefaultJVMName(NewJavaProjectWizardPageOne.java:593)
	at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup.getDefaultJVMLabel(NewJavaProjectWizardPageOne.java:630)
	at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne$JREGroup.<init>(NewJavaProjectWizardPageOne.java:432)
	at org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageOne.<init>(NewJavaProjectWizardPageOne.java:1113)
	at org.eclipse.jdt.internal.ui.wizards.JavaProjectWizard.addPages(JavaProjectWizard.java:66)
	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:546)
	at org.eclipse.jface.window.Window.create(Window.java:431)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
	at org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:122)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3543)


java version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)


Contents of eclipse.ini
-startup
../../../plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.0.1.R35x_v20090707
-product
org.eclipse.epp.package.java.product
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=256m
-Xms40m
-Xmx256m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts


Contents of config.ini
#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Thu Feb 18 11:51:32 EST 2010
org.eclipse.update.reconcile=false
eclipse.p2.profile=epp.package.java
osgi.instance.area.default=@user.home/Documents/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.5.2.R35x_v20100126.jar
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.101.R35x_v20090807-1100.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
osgi.framework.extensions=
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=@config.dir/../p2/
eclipse.application=org.eclipse.ui.ide.workbench

[Updated on: Tue, 26 October 2010 18:09]

Report message to a moderator

Re: Eclipse platform problems on Mac OS 10.6.4 and Java 1.6.0_22 [message #659236 is a reply to message #635405] Fri, 11 March 2011 15:39 Go to previous messageGo to next message
mku  is currently offline mku
Messages: 7
Registered: January 2011
Junior Member
Hello,

I experienced the same issues using eclipse 3.6 (64bit cacoa) on a MBP
5,1 (Core 2 Duo 2,8 Ghz, 8G RAM) running OSX 10.6.6 and Java 1.6.0_24

The same applies to STS 2.6.0 and the latest Indigo milestone.

I increased memory in eclipse.ini to 1024mb but it does not solve the
problems.

I also tried to use a newer MBP but the problems stayed so i guess this
is related to the apple-jdk.

As for now eclipse is unusable.

@javagrendel:
What are the specs of your system? Perhaps we can figure out some
similarites.

Did anyone have similar problems?
Any hint is greatly appreciated as im getting quite desperate.

markus


Am 26.10.10 18:37, schrieb javagrendel@gmail.com:
> Ever since I installed the most recent jvm update from Apple, I've been
> having problems with Eclipse. At first I thought it was my .metadata
> directory, so I deleted that. Then I tried getting older versions of
> Eclipse (Gallileo, Ganymede), also with the same problem.
>
> On my machine, when I try to create a new project, Eclipse just hangs
> (beach ball o' death). It doesn't matter if I use my old workspace or a
> new one. I'm at a complete loss, and I cannot work until this is fixed.
> Please help!
>
> I'm on a 64-bit Intel iMac.
>
> java version
>
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)
>
>
> Contents of eclipse.ini
>
> -startup
> ./../../plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v2 0090715.jar
> --launcher.library
> ./../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x8 6_64_1.0.1.R35x_v20090707
>
> -product
> org.eclipse.epp.package.java.product
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256m
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -XstartOnFirstThread
> -Dorg.eclipse.swt.internal.carbon.smallFonts
> -XX:MaxPermSize=256m
> -Xms40m
> -Xmx256m
> -Xdock:icon=../Resources/Eclipse.icns
> -XstartOnFirstThread
> -Dorg.eclipse.swt.internal.carbon.smallFonts
>
>
> Contents of config.ini
>
> #This configuration file was written by:
> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>
> #Thu Feb 18 11:51:32 EST 2010
> org.eclipse.update.reconcile=false
> eclipse.p2.profile=epp.package.java
> osgi.instance.area.default=@user.home/Documents/workspace
> osgi.framework=file\:plugins/org.eclipse.osgi_3.5.2.R35x_v20 100126.jar
> osgi.bundles=reference\:file\: org.eclipse.equinox.simpleconfigurator_1.0.101.R35x_v2009080 7-1100.jar @1\:start
>
> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
>
> eclipse.product=org.eclipse.platform.ide
> osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
> osgi.framework.extensions=
> osgi.bundles.defaultStartLevel=4
> eclipse.p2.data.area=@config.dir/../p2/
> eclipse.application=org.eclipse.ui.ide.workbench
>
Re: Eclipse platform problems on Mac OS 10.6.4 and Java 1.6.0_22 [message #659237 is a reply to message #659236] Fri, 11 March 2011 15:44 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5419
Registered: July 2009
Senior Member
I've no such problems at all:
* Helios 3.6.2 runs fine
* Indigo M5 runs fine
* Indigo I-Build runs fine
* Eclipse 4.1 runs fine

Mac OS 10.6.6 with Java 1.6.0_22

Tom

Am 11.03.11 16:39, schrieb Markus K√ľnstler:
> Hello,
>
> I experienced the same issues using eclipse 3.6 (64bit cacoa) on a MBP
> 5,1 (Core 2 Duo 2,8 Ghz, 8G RAM) running OSX 10.6.6 and Java 1.6.0_24
>
> The same applies to STS 2.6.0 and the latest Indigo milestone.
>
> I increased memory in eclipse.ini to 1024mb but it does not solve the
> problems.
>
> I also tried to use a newer MBP but the problems stayed so i guess this
> is related to the apple-jdk.
>
> As for now eclipse is unusable.
>
> @javagrendel:
> What are the specs of your system? Perhaps we can figure out some
> similarites.
>
> Did anyone have similar problems?
> Any hint is greatly appreciated as im getting quite desperate.
>
> markus
>
>
> Am 26.10.10 18:37, schrieb javagrendel@gmail.com:
>> Ever since I installed the most recent jvm update from Apple, I've been
>> having problems with Eclipse. At first I thought it was my .metadata
>> directory, so I deleted that. Then I tried getting older versions of
>> Eclipse (Gallileo, Ganymede), also with the same problem.
>>
>> On my machine, when I try to create a new project, Eclipse just hangs
>> (beach ball o' death). It doesn't matter if I use my old workspace or a
>> new one. I'm at a complete loss, and I cannot work until this is fixed.
>> Please help!
>>
>> I'm on a 64-bit Intel iMac.
>>
>> java version
>>
>> java version "1.6.0_22"
>> Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
>> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)
>>
>>
>> Contents of eclipse.ini
>>
>> -startup
>> ./../../plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v2 0090715.jar
>> --launcher.library
>> ./../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x8 6_64_1.0.1.R35x_v20090707
>>
>>
>> -product
>> org.eclipse.epp.package.java.product
>> -showsplash
>> org.eclipse.platform
>> --launcher.XXMaxPermSize
>> 256m
>> -vmargs
>> -Dosgi.requiredJavaVersion=1.5
>> -XstartOnFirstThread
>> -Dorg.eclipse.swt.internal.carbon.smallFonts
>> -XX:MaxPermSize=256m
>> -Xms40m
>> -Xmx256m
>> -Xdock:icon=../Resources/Eclipse.icns
>> -XstartOnFirstThread
>> -Dorg.eclipse.swt.internal.carbon.smallFonts
>>
>>
>> Contents of config.ini
>>
>> #This configuration file was written by:
>> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxF wConfigFileParser
>>
>>
>> #Thu Feb 18 11:51:32 EST 2010
>> org.eclipse.update.reconcile=false
>> eclipse.p2.profile=epp.package.java
>> osgi.instance.area.default=@user.home/Documents/workspace
>> osgi.framework=file\:plugins/org.eclipse.osgi_3.5.2.R35x_v20 100126.jar
>> osgi.bundles=reference\:file\: org.eclipse.equinox.simpleconfigurator_1.0.101.R35x_v2009080 7-1100.jar @1\:start
>>
>>
>> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.e clipse.equinox.simpleconfigurator/bundles.info
>>
>>
>> eclipse.product=org.eclipse.platform.ide
>> osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
>> osgi.framework.extensions=
>> osgi.bundles.defaultStartLevel=4
>> eclipse.p2.data.area=@config.dir/../p2/
>> eclipse.application=org.eclipse.ui.ide.workbench
>>
>
Re: Eclipse platform problems on Mac OS 10.6.4 and Java 1.6.0_22 [message #659255 is a reply to message #659237] Fri, 11 March 2011 16:27 Go to previous messageGo to next message
mku  is currently offline mku
Messages: 7
Registered: January 2011
Junior Member
Tom,
thanks for the quick response.
Just to make sure:
did you alter the eclipse.ini and if so, would you mind posting it here?
I want make sure it's not related to the ini before i dig in any further.

thanks,
markus
Re: Eclipse platform problems on Mac OS 10.6.4 and Java 1.6.0_22 [message #659256 is a reply to message #659255] Fri, 11 March 2011 16:35 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5419
Registered: July 2009
Senior Member
No - plain download from Eclipse but I'm also using only the Platform
SDK from http://download.eclipse.org/eclipse/downloads/

Tom

Am 11.03.11 17:27, schrieb Markus K√ľnstler:
> Tom,
> thanks for the quick response.
> Just to make sure:
> did you alter the eclipse.ini and if so, would you mind posting it here?
> I want make sure it's not related to the ini before i dig in any further.
>
> thanks,
> markus
>
Re: Eclipse platform problems on Mac OS 10.6.4 and Java 1.6.0_22 [message #662107 is a reply to message #659256] Tue, 29 March 2011 10:49 Go to previous message
mku  is currently offline mku
Messages: 7
Registered: January 2011
Junior Member
Solved but not found:

The problems vanished as soon as i unregistered from our windows-domain
at work.

So it seems to be an OSX problem. Funny still only eclipse seems
to get affected.
Previous Topic:How to handle new project location
Next Topic:Product Branding recent info wanted
Goto Forum:
  


Current Time: Thu Oct 23 13:47:45 GMT 2014

Powered by FUDForum. Page generated in 0.04015 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software