Page 2 of 2

Re: Eclipse/Compile Problem

Posted: Tue Aug 11, 2009 6:39 am
by rockkth
THe problem was that i had java sdk installed on my computer too, and some other versions of java too.

was nothing wrong with the build method, now i uninstalled those and it s all working fine.

Thank you again for all who responded to this thread, i know you are very busy and i appreciate that you took the time to respond.

Ty again., I `m happy :D

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 5:21 am
by -PsYcH-
Hi, i have the same problem... I try to delete all my javas, and reinstall jdk pack again, but i get the same error again.. Pls help! :x

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 5:45 am
by JIV
you must add jdk to eclipse, follow wiki guide..

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 6:51 am
by -PsYcH-
I've tryed to add jdk and jre, then select jdk and jre, in all ways get same error :/

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 7:21 am
by janiii
-PsYcH- wrote:Hi, i have the same problem... I try to delete all my javas, and reinstall jdk pack again, but i get the same error again.. Pls help! :x
which same error? be more specific about your problem.

check that you have JAVA_HOME set and also added the java bin folder to PATH variable. check that you use jdk and not jre in those system variables.

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 8:03 am
by -PsYcH-

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 9:01 am
by janiii
- in eclipse in installed jre set the jdk as default and remove the jre from there
- the java home bin directory path has to be added to the PATH variable, not a standalone variable

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 9:22 am
by -PsYcH-
janiii wrote:- the java home bin directory path has to be added to the PATH variable, not a standalone variable
How do this?

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 9:26 am
by MELERIX
-PsYcH- wrote:How do this?
Read the guides: viewtopic.php?f=2&t=10719 :roll:

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 9:33 am
by -PsYcH-
http://wso2.org/project/wsas/java/2.0/d ... -home.html Thats writted about how set only java home folder, but how set java bin folder?

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 9:37 am
by MELERIX
you only needs to set JAVA_HOME thats all, you don't need to set java bin folder.

and please read the guides slowly, step by step and all will be fine ;)

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 9:45 am
by -PsYcH-
Anyway don help :/ Maybe my OS is dont good for eclipse?

Re: Eclipse/Compile Problem

Posted: Tue Jun 15, 2010 9:54 am
by janiii
http://www.java.com/en/download/help/path.xml

just google "java path windows"