Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Problem starting Eclipse
Problem starting Eclipse [message #721946] Sat, 03 September 2011 18:46 Go to next message
Lukesteral is currently offline LukesteralFriend
Messages: 9
Registered: September 2011
Junior Member
When i try to start it i get this:
Java was started but returned exit code=1

Thats the first part of what came up i just dont feel like copying the whole thing down word for word. so does anyone know what to do?
Re: Problem starting Eclipse [message #721952 is a reply to message #721946] Sat, 03 September 2011 18:53 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 03-Sep-11 12:47, Lukesteral wrote:
> When i try to start it i get this:
> Java was started but returned exit code=1
>
> Thats the first part of what came up i just dont feel like copying the
> whole thing down word for word. so does anyone know what to do?

Okay, if I have to fly blind here...

Make certain your Java and your Eclipse share the same bittedness.
Then, see http://wiki.eclipse.org/Eclipse.ini.
Re: Problem starting Eclipse [message #721959 is a reply to message #721952] Sat, 03 September 2011 19:43 Go to previous messageGo to next message
Lukesteral is currently offline LukesteralFriend
Messages: 9
Registered: September 2011
Junior Member
ok fine heres the rest of the code that popped up:

Java was started but returned exit code=1
C:\Windows\system32\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar C:\Users\(private)\Documents\my stuff\Eclipse
stuff\eclipse\\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-os win32
-ws win32
-archx86_64
-showsplash
-launcher C:\Users\(private)\Documents\my stuff\Eclipse stuff\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Users\(private)\Documents\my stuff\Eclipse
Stuff\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.
100.v20110502\eclipse_1406.dll
-startup C:\Users\(private)\Documents\my stuff\Eclipse
stuff\eclipse\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata 22c0_60
-product org.eclipse.epp.package..jee.product
-vm C:\Windows\system32\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar C:\Users\(private)\Documents\my stuff\Eclipse
stuff\eclipse\\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar


Thats the end of the code.
Re: Problem starting Eclipse [message #721970 is a reply to message #721959] Sat, 03 September 2011 20:38 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 03-Sep-11 13:43, Lukesteral wrote:
> ok fine heres the rest of the code that popped up:
>
> Java was started but returned exit code=1
> C:\Windows\system32\javaw.exe
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx512m
> -XX:MaxPermSize=256m
> -jar C:\Users\(private)\Documents\my stuff\Eclipse
> stuff\eclipse\\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar
> -os win32
> -ws win32
> -archx86_64
> -showsplash
> -launcher C:\Users\(private)\Documents\my stuff\Eclipse
> stuff\eclipse\eclipse.exe
> -name Eclipse
> --launcher.library C:\Users\(private)\Documents\my stuff\Eclipse
> Stuff\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.
> 100.v20110502\eclipse_1406.dll
> -startup C:\Users\(private)\Documents\my stuff\Eclipse
> stuff\eclipse\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
> --launcher.overrideVmargs
> -exitdata 22c0_60
> -product org.eclipse.epp.package..jee.product
> -vm C:\Windows\system32\javaw.exe
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -Xms40m
> -Xmx512m
> -XX:MaxPermSize=256m
> -jar C:\Users\(private)\Documents\my stuff\Eclipse
> stuff\eclipse\\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar
>
>
> Thats the end of the code.

I would install a proper Java. If you're going to use Eclipse to develop
Java applications, you'll need a JDK anyway. Whatever the case, install
a JRE or JDK from Sun (java.sun.com, then hover over Downloads button
and choose Java for Developers). You don't have to install this on your
Windows host; you can just drop it privately somewhere, e.g.:
C:\Users\(private)\mystuff\jdk1.6.0_27. Then, edit your eclipse.ini,
specify it with the -vm option (see the Eclipsepedia link I sent) and
try again.
Re: Problem starting Eclipse [message #721972 is a reply to message #721970] Sat, 03 September 2011 21:04 Go to previous messageGo to next message
Lukesteral is currently offline LukesteralFriend
Messages: 9
Registered: September 2011
Junior Member
Well i already have JDK installed hopefully correctly.. but that link you sent didnt have any text on the page
Re: Problem starting Eclipse [message #721976 is a reply to message #721970] Sat, 03 September 2011 21:26 Go to previous messageGo to next message
Lukesteral is currently offline LukesteralFriend
Messages: 9
Registered: September 2011
Junior Member
Also if it helps to know that i installed JDK and eclipse with a tutorial on youtube. it wont let me post post the tutorials until i post 5 messages though. so im not sure if this helps anything. but perhaps i did a step wrong?
Re: Problem starting Eclipse [message #721985 is a reply to message #721972] Sat, 03 September 2011 22:13 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 03-Sep-11 15:04, Lukesteral wrote:
> Well i already have JDK installed hopefully correctly.. but that link
> you sent didnt have any text on the page

According to what you posted, I can see that you a) are not necessarily
using a Sun JRE and b) that's it's not a JDK. You can run Eclipse on a
mere JRE if you like, but you can't really do Java development. The JRE
you are using is unclear. The reason I know this is:

-vm C:\Windows\system32\javaw.exe

I would expect something either like the path I gave you or something like:

-vm
C:\Program Files\Java\jre6\bin\javaw.exe


if you had specified a JRE installed in the usual place the installer
would drop it.

In either case, you've not caught the spirit of
http://wiki.eclipse.org/Eclipse.ini.

If you want a fairly detailed and perhap tedious summary of this, the
following link should get you running or bore you to tears:

http://www.javahotchocolate.com/tutorials/eclipse-summary.html
Re: Problem starting Eclipse [message #721988 is a reply to message #721985] Sat, 03 September 2011 22:51 Go to previous messageGo to next message
Lukesteral is currently offline LukesteralFriend
Messages: 9
Registered: September 2011
Junior Member
Well i only understand about half of what your talking about (you obviously know way more about computers then i do) but this is what i have: C:\Program Files\Java\jdk1.7.0\bin\javaw.
and can you explain to me what im supposed to do with that link you eep mentioning?
whenever i click on it it takes me to a page that says theres no text on this page.
Re: Problem starting Eclipse [message #721990 is a reply to message #721988] Sat, 03 September 2011 23:02 Go to previous messageGo to next message
Roy Epperson is currently offline Roy EppersonFriend
Messages: 6
Registered: April 2011
Location: Santa Barbara, Ca
Junior Member
On 9/3/2011 3:51 PM, Lukesteral wrote:
> Well i only understand about half of what your talking about (you
> obviously know way more about computers then i do) but this is what i
> have: C:\Program Files\Java\jdk1.7.0\bin\javaw.
> and can you explain to me what im supposed to do with that link you eep
> mentioning? whenever i click on it it takes me to a page that says
> theres no text on this page.


Did you miss paste the javaw line? It should be: C:\Program
Files\Java\jdk1.7.0\bin\javaw.exe
Re: Problem starting Eclipse [message #721991 is a reply to message #721990] Sat, 03 September 2011 23:09 Go to previous messageGo to next message
Lukesteral is currently offline LukesteralFriend
Messages: 9
Registered: September 2011
Junior Member
well i dont see any javaw.exe but i do see javaw in it
Re: Problem starting Eclipse [message #721995 is a reply to message #721988] Sat, 03 September 2011 23:12 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 03-Sep-11 16:51, Lukesteral wrote:
> Well i only understand about half of what your talking about (you
> obviously know way more about computers then i do) but this is what i
> have: C:\Program Files\Java\jdk1.7.0\bin\javaw.
> and can you explain to me what im supposed to do with that link you eep
> mentioning? whenever i click on it it takes me to a page that says
> theres no text on this page.

Please reply with the URL that does not work. Both URLs I sent you work.
I don't usually type URLs, but copy and paste them from my browser
address line; that way, I know I'm not jerking you around.
Re: Problem starting Eclipse [message #721996 is a reply to message #721995] Sun, 04 September 2011 00:01 Go to previous messageGo to next message
Lukesteral is currently offline LukesteralFriend
Messages: 9
Registered: September 2011
Junior Member
i have to post 5 times before i can upload URLs'. i think this my 4th or something. here hold on.
Re: Problem starting Eclipse [message #721997 is a reply to message #721996] Sun, 04 September 2011 00:02 Go to previous messageGo to next message
Lukesteral is currently offline LukesteralFriend
Messages: 9
Registered: September 2011
Junior Member
http://wiki.eclipse.org/Eclipse.ini.
this is the first link.
Re: Problem starting Eclipse [message #722005 is a reply to message #721996] Sun, 04 September 2011 02:00 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.09.03 18:01, Lukesteral wrote:
> i have to post 5 times before i can upload URLs'. i think this my 4th or
> something. here hold on.

There are many tricks to posting it leaving off http://, adding spaces, etc.
Re: Problem starting Eclipse [message #722006 is a reply to message #721976] Sun, 04 September 2011 02:01 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.09.03 15:26, Lukesteral wrote:
> Also if it helps to know that i installed JDK and eclipse with a
> tutorial on youtube. it wont let me post post the tutorials until i post
> 5 messages though. so im not sure if this helps anything. but perhaps i
> did a step wrong?

No, this is not important.
Re: Problem starting Eclipse [message #722007 is a reply to message #721997] Sun, 04 September 2011 02:03 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.09.03 18:02, Lukesteral wrote:
> http://wiki.eclipse.org/Eclipse.ini. this is the first link.

If you can't get to that link, then I can't imagine what you can do. How
could you download Eclipse in the first place? Etc. Maybe there's
something wrong with your connection that's only temporary? Keep trying
until you get that link. * * Everybody * * uses that link when they
start setting up Eclipse.
Re: Problem starting Eclipse [message #722010 is a reply to message #722007] Sun, 04 September 2011 02:16 Go to previous messageGo to next message
Lukesteral is currently offline LukesteralFriend
Messages: 9
Registered: September 2011
Junior Member
oh well ive been useing this tutorial: http://www.youtube.com/watch?v=CE8UIbb_4iM&feature=relmfu

But yeah ill try later. ill figure it out
Re: Problem starting Eclipse [message #722021 is a reply to message #721991] Sun, 04 September 2011 03:34 Go to previous messageGo to next message
Roy Epperson is currently offline Roy EppersonFriend
Messages: 6
Registered: April 2011
Location: Santa Barbara, Ca
Junior Member
On 9/3/2011 4:09 PM, Lukesteral wrote:
> well i dont see any javaw.exe but i do see javaw in it
The file name is javaw.exe Windows normally hides "known" suffixes.
Invoking a jvm requires the complete pathname, not what Windows show you
in Explorer
Re: Problem starting Eclipse [message #722024 is a reply to message #722010] Sun, 04 September 2011 04:11 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.09.03 20:16, Lukesteral wrote:
> oh well ive been useing this tutorial:
> http://www.youtube.com/watch?v=CE8UIbb_4iM&feature=relmfu
>
> But yeah ill try later. ill figure it out

I looked at this tutorial. Besides being a little old (we're three full
versions past Ganymede now), the explanations are simplistic and he
completely skips over how to install Eclipse. If that weren't enough,
he's not a Java programmer. There are standards in Java he completely
ignores.

I'd like to help, but as you can't seem to see the links I've posted,
it's hard to do so.

Should you be able to reach
http://www.javahotchocolate.com/tutorials/eclipse-summary.html, use it
to learn how to download and set up Eclipse. Once you get Eclipse
installed and working, the workbench itself has a link you can click to
tutorials which are very good.

However, ...

While I have tried it out, but elected to stay with Eclipse which the
vast majority of developers who write commercial software use for Java
development, I would suggest you look at NetBeans; you might find it
easier. It's a much more beginners' environment, I think. (I hope I
don't take too much flack from the rest of the forum for suggesting this.)

Russ
Re: Problem starting Eclipse [message #722026 is a reply to message #722010] Sun, 04 September 2011 04:11 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.09.03 20:16, Lukesteral wrote:
> oh well ive been useing this tutorial:
> http://www.youtube.com/watch?v=CE8UIbb_4iM&feature=relmfu
>
> But yeah ill try later. ill figure it out

I looked at this tutorial. Besides being a little old (we're three full
versions past Ganymede now), the explanations are simplistic and he
completely skips over how to install Eclipse. If that weren't enough,
he's not a Java programmer. There are standards in Java he completely
ignores.

I'd like to help, but as you can't seem to see the links I've posted,
it's hard to do so.

Should you be able to reach
http://www.javahotchocolate.com/tutorials/eclipse-summary.html, use it
to learn how to download and set up Eclipse. Once you get Eclipse
installed and working, the workbench itself has a link you can click to
tutorials which are very good.

However, ...

While I have tried it out, but elected to stay with Eclipse which the
vast majority of developers who write commercial software use for Java
development, I would suggest you look at NetBeans; you might find it
easier. It's a much more beginners' environment, I think. (I hope I
don't take too much flack from the rest of the forum for suggesting this.)

Russ
Re: Problem starting Eclipse [message #722029 is a reply to message #722010] Sun, 04 September 2011 04:11 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.09.03 20:16, Lukesteral wrote:
> oh well ive been useing this tutorial:
> http://www.youtube.com/watch?v=CE8UIbb_4iM&feature=relmfu
>
> But yeah ill try later. ill figure it out

I looked at this tutorial. Besides being a little old (we're three full
versions past Ganymede now), the explanations are simplistic and he
completely skips over how to install Eclipse. If that weren't enough,
he's not a Java programmer. There are standards in Java he completely
ignores.

I'd like to help, but as you can't seem to see the links I've posted,
it's hard to do so.

Should you be able to reach
http://www.javahotchocolate.com/tutorials/eclipse-summary.html, use it
to learn how to download and set up Eclipse. Once you get Eclipse
installed and working, the workbench itself has a link you can click to
tutorials which are very good.

However, ...

While I have tried it out, but elected to stay with Eclipse which the
vast majority of developers who write commercial software use for Java
development, I would suggest you look at NetBeans; you might find it
easier. It's a much more beginners' environment, I think. (I hope I
don't take too much flack from the rest of the forum for suggesting this.)

Russ
Re: Problem starting Eclipse [message #722041 is a reply to message #722010] Sun, 04 September 2011 04:11 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.09.03 20:16, Lukesteral wrote:
> oh well ive been useing this tutorial:
> http://www.youtube.com/watch?v=CE8UIbb_4iM&feature=relmfu
>
> But yeah ill try later. ill figure it out

I looked at this tutorial. Besides being a little old (we're three full
versions past Ganymede now), the explanations are simplistic and he
completely skips over how to install Eclipse. If that weren't enough,
he's not a Java programmer. There are standards in Java he completely
ignores.

I'd like to help, but as you can't seem to see the links I've posted,
it's hard to do so.

Should you be able to reach
http://www.javahotchocolate.com/tutorials/eclipse-summary.html, use it
to learn how to download and set up Eclipse. Once you get Eclipse
installed and working, the workbench itself has a link you can click to
tutorials which are very good.

However, ...

While I have tried it out, but elected to stay with Eclipse which the
vast majority of developers who write commercial software use for Java
development, I would suggest you look at NetBeans; you might find it
easier. It's a much more beginners' environment, I think. (I hope I
don't take too much flack from the rest of the forum for suggesting this.)

Russ
Re: Problem starting Eclipse [message #722043 is a reply to message #722010] Sun, 04 September 2011 04:11 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.09.03 20:16, Lukesteral wrote:
> oh well ive been useing this tutorial:
> http://www.youtube.com/watch?v=CE8UIbb_4iM&feature=relmfu
>
> But yeah ill try later. ill figure it out

I looked at this tutorial. Besides being a little old (we're three full
versions past Ganymede now), the explanations are simplistic and he
completely skips over how to install Eclipse. If that weren't enough,
he's not a Java programmer. There are standards in Java he completely
ignores.

I'd like to help, but as you can't seem to see the links I've posted,
it's hard to do so.

Should you be able to reach
http://www.javahotchocolate.com/tutorials/eclipse-summary.html, use it
to learn how to download and set up Eclipse. Once you get Eclipse
installed and working, the workbench itself has a link you can click to
tutorials which are very good.

However, ...

While I have tried it out, but elected to stay with Eclipse which the
vast majority of developers who write commercial software use for Java
development, I would suggest you look at NetBeans; you might find it
easier. It's a much more beginners' environment, I think. (I hope I
don't take too much flack from the rest of the forum for suggesting this.)

Russ
Re: Problem starting Eclipse [message #722049 is a reply to message #722010] Sun, 04 September 2011 04:11 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3266
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.09.03 20:16, Lukesteral wrote:
> oh well ive been useing this tutorial:
> http://www.youtube.com/watch?v=CE8UIbb_4iM&feature=relmfu
>
> But yeah ill try later. ill figure it out

I looked at this tutorial. Besides being a little old (we're three full
versions past Ganymede now), the explanations are simplistic and he
completely skips over how to install Eclipse. If that weren't enough,
he's not a Java programmer. There are standards in Java he completely
ignores.

I'd like to help, but as you can't seem to see the links I've posted,
it's hard to do so.

Should you be able to reach
http://www.javahotchocolate.com/tutorials/eclipse-summary.html, use it
to learn how to download and set up Eclipse. Once you get Eclipse
installed and working, the workbench itself has a link you can click to
tutorials which are very good.

However, ...

While I have tried it out, but elected to stay with Eclipse which the
vast majority of developers who write commercial software use for Java
development, I would suggest you look at NetBeans; you might find it
easier. It's a much more beginners' environment, I think. (I hope I
don't take too much flack from the rest of the forum for suggesting this.)

Russ
Previous Topic:Help with Eclipse and Windows7 64bit
Next Topic:Why can't I reply to posts?
Goto Forum:
  


Current Time: Sat Dec 20 19:28:49 GMT 2014

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

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