Skip to main content



      Home
Home » Newcomers » Newcomers » Cannot get Eclipse Helios to run on windows 7 with Java (Need help with Eclipse installation)
Cannot get Eclipse Helios to run on windows 7 with Java [message #549876] Wed, 28 July 2010 06:19 Go to next message
Eclipse UserFriend
Hi, I am very new to Eclipse and having all sorts of trouble getting it to run.

I have windows 7 32bit. I am using 32 bit versions of both jdk and Eclipse.

I am using Java jdk 1.6 - I have tried with both update 20 and 21

I am able to compile and run java files via the cmd just fine.

I am using Eclipse Helios. It will run initially and ask me to set a workspace directory, however, it will then attempt to run without success, alway quiting.

There is never an error message.

I have tried several online fixes from the FAQ.

I tried specifying the VM directly using the -vm command in the Eclipse.ini

I used:

-vm
C:\jdk\bin\javaw.exe

If I intentionally direct Eclipse to the wrong address - eg C:\noVmHere\
Then It will give an error and crash.

I tried all the update 21 fixes from http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F

I have also noticed when I try to browse to a new directory on the workspace setting window Eclipse will hang and I will have to kill it in task manager.

any help would be very much appreciated.

[Updated on: Wed, 28 July 2010 06:20] by Moderator

Re: Cannot get Eclipse Helios to run on windows 7 with Java [message #549881 is a reply to message #549876] Wed, 28 July 2010 06:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi

Start eclipse.exe from the command prompt (or powershell if you like).
Are there any stack traces or other log output? If not, try passing the
parameter -debug and look at the output.

BTW: instead of manually selecting the workspace location in the dialog,
you may specify it using -data

Example with all the stuff above

cd %ECLIPSE_HOME% // wherever that is on your machine
eclipse.exe -data c:\temp\ws -debug

HTH

Michael
Re: Cannot get Eclipse Helios to run on windows 7 with Java [message #549889 is a reply to message #549881] Wed, 28 July 2010 07:33 Go to previous messageGo to next message
Eclipse UserFriend
thanks for the fast response!

log file gives the following:

!SESSION 2010-07-28 21:29:57.439 -----------------------------------------------
eclipse.buildId=I20100608-0911
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_AU
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product -data c:\temp\ws -debug

!ENTRY org.eclipse.osgi 4 0 2010-07-28 21:29:59.756
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: Cannot initialize Drop
at org.eclipse.swt.dnd.DND.error(DND.java:266)
at org.eclipse.swt.dnd.DND.error(DND.java:227)
at org.eclipse.swt.dnd.DropTarget.<init>(DropTarget.java:144)
at org.eclipse.ui.internal.EditorSashContainer.addDropSupport(E ditorSashContainer.java:542)
at org.eclipse.ui.internal.EditorSashContainer.createControl(Ed itorSashContainer.java:534)
at org.eclipse.ui.internal.EditorAreaHelper.<init>(EditorAreaHelper.java:41)
at org.eclipse.ui.internal.WorkbenchPage.init(WorkbenchPage.jav a:2425)
at org.eclipse.ui.internal.WorkbenchPage.<init>(WorkbenchPage.java:563)
at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation. createWorkbenchPage(Workbench3xImplementation.java:39)
at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(Workben chWindow.java:768)
at org.eclipse.ui.internal.Workbench$23.runWithException(Workbe nch.java:1220)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3660)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbe nch.java:1566)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:4041)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3660)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2537)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:24 27)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:663)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)



unsure if I was meant to post this.

[Updated on: Wed, 28 July 2010 07:34] by Moderator

Re: Cannot get Eclipse Helios to run on windows 7 with Java [message #550313 is a reply to message #549889] Thu, 29 July 2010 16:57 Go to previous messageGo to next message
Eclipse UserFriend
Not one of the usual suspects... to be honest - I have no idea. Have
you tried it in the platform or swt newgsgroup?
Re: Cannot get Eclipse Helios to run on windows 7 with Java [message #550380 is a reply to message #550313] Fri, 30 July 2010 03:59 Go to previous message
Eclipse UserFriend

I've just tried putting it up on the platform newsgroup.

I cant seem to find another example of this exact error on a system like mine Sad

thank you for the suggestion though.
Previous Topic:Missing requirement org.eclipse.cor.runtime
Next Topic:An internal error occurred during: "Launching"
Goto Forum:
  


Current Time: Sun Jul 27 15:34:56 EDT 2025

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

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

Back to the top