Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Java Runtime 1.2/1.4
Java Runtime 1.2/1.4 [message #120821] Wed, 30 November 2005 11:05 Go to next message
Eclipse UserFriend
Originally posted by: superDACAL.hotmail.com

In the beginning I Instaled a JDK and a J2SDK (becuse I wanted to program
in Java) then I too get Eclipse SDK Version: 3.1.0, it all worked fine
until I have to work in classpath on Eclipse SDK Version: 3.1.0, I cud not
figure it out (thrugh my toturial I downloaded from the net).
Then I must have done something wrong becuse there came this messege on
every file I had developed (also the files that worked before):

"Incompatible .class files version in required binaries. Project 'Breve'
is targeting a 1.2 runtime, but is compiled against 'C:Documents and
Settings/Daniel W.
Petersen/Skrivebord/Fag/java/J2sdk/jre/lib/charsets.jar' which requires a
1.4 runtime."

I have search for the error In about a month now (FAQ, toturials and so
on), and I have reInstalled all that have a little to do with Java (and
this time I only Installed J2sdk (becuse I have got brighter thrugh the
toturial I had downloaded), but the problem still were there.

After I had got dowloaded and instaled the J2SDK the comand prompt reacted
when i wrot Java, but the tutorial menu (that are programmed in Java)
did'nt work, the tutorial are in HTML.

What have I done wrong, some sugestions?

PS: If there are some poits there are difficult to read then please
say/write it, becuse english are not my native language.
Re: Java Runtime 1.2/1.4 [message #120864 is a reply to message #120821] Wed, 30 November 2005 15:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: weconsul.ptd.net

Lord_DACAL wrote:
> In the beginning I Instaled a JDK and a J2SDK (becuse I wanted to
> program in Java) then I too get Eclipse SDK Version: 3.1.0, it all
> worked fine until I have to work in classpath on Eclipse SDK Version:
> 3.1.0, I cud not figure it out (thrugh my toturial I downloaded from the
> net).
> Then I must have done something wrong becuse there came this messege on
> every file I had developed (also the files that worked before):
>
> "Incompatible .class files version in required binaries. Project 'Breve'
> is targeting a 1.2 runtime, but is compiled against 'C:Documents and
> Settings/Daniel W.
> Petersen/Skrivebord/Fag/java/J2sdk/jre/lib/charsets.jar' which requires
> a 1.4 runtime."
>
> I have search for the error In about a month now (FAQ, toturials and so
> on), and I have reInstalled all that have a little to do with Java (and
> this time I only Installed J2sdk (becuse I have got brighter thrugh the
> toturial I had downloaded), but the problem still were there.
>
> After I had got dowloaded and instaled the J2SDK the comand prompt
> reacted when i wrot Java, but the tutorial menu (that are programmed in
> Java) did'nt work, the tutorial are in HTML.
>
> What have I done wrong, some sugestions?
>
> PS: If there are some poits there are difficult to read then please
> say/write it, becuse english are not my native language.
>
It's saying you do not have the correct JDK..

Do you know the versions of JDK and J2SDK you installed.. You need to
install the 1.4 or better yet 1.5 JDK.

I would uninstall what you installed the JDK/J2SDK and download JDK 5.0
Update 5, JRE 5.0 Update 5 and J2SE 5.0 Documentation from here
http://java.sun.com/j2se/1.5.0/download.jsp

After that load Eclipse and do the following..

- At the top, select 'Preferences'
- Select 'Java'
- Select 'Installed JREs'
- Then add the location of the JRE 5.0 you just installed.

The documentation you usually unzip into your JDK folder. The will
create a \docs folder with all of the api information.

--

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
____________________________________________________________ ______________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Re: Java Runtime 1.2/1.4 [message #120872 is a reply to message #120864] Wed, 30 November 2005 15:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: weconsul.ptd.net

IchBin wrote:
> Lord_DACAL wrote:
>> In the beginning I Instaled a JDK and a J2SDK (becuse I wanted to
>> program in Java) then I too get Eclipse SDK Version: 3.1.0, it all
>> worked fine until I have to work in classpath on Eclipse SDK Version:
>> 3.1.0, I cud not figure it out (thrugh my toturial I downloaded from
>> the net).
>> Then I must have done something wrong becuse there came this messege
>> on every file I had developed (also the files that worked before):
>>
>> "Incompatible .class files version in required binaries. Project
>> 'Breve' is targeting a 1.2 runtime, but is compiled against
>> 'C:Documents and Settings/Daniel W.
>> Petersen/Skrivebord/Fag/java/J2sdk/jre/lib/charsets.jar' which
>> requires a 1.4 runtime."
>>
>> I have search for the error In about a month now (FAQ, toturials and
>> so on), and I have reInstalled all that have a little to do with Java
>> (and this time I only Installed J2sdk (becuse I have got brighter
>> thrugh the toturial I had downloaded), but the problem still were there.
>>
>> After I had got dowloaded and instaled the J2SDK the comand prompt
>> reacted when i wrot Java, but the tutorial menu (that are programmed
>> in Java) did'nt work, the tutorial are in HTML.
>>
>> What have I done wrong, some sugestions?
>>
>> PS: If there are some poits there are difficult to read then please
>> say/write it, becuse english are not my native language.
>>
> It's saying you do not have the correct JDK..
>
> Do you know the versions of JDK and J2SDK you installed.. You need to
> install the 1.4 or better yet 1.5 JDK.
>
> I would uninstall what you installed the JDK/J2SDK and download JDK 5.0
> Update 5, JRE 5.0 Update 5 and J2SE 5.0 Documentation from here
> http://java.sun.com/j2se/1.5.0/download.jsp
>
> After that load Eclipse and do the following..
>
> - At the top, select 'Preferences'
> - Select 'Java'
> - Select 'Installed JREs'
> - Then add the location of the JRE 5.0 you just installed.
>
> The documentation you usually unzip into your JDK folder. The will
> create a \docs folder with all of the api information.
>
You may want to select your project and then select 'Build Project' just
in case old class files are still around.

--


Thanks in Advance...
IchBin, Pocono Lake, Pa, USA
http://weconsultants.servebeer.com/JHackerAppManager
____________________________________________________________ ______________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Re: Java Runtime 1.2/1.4 [message #121251 is a reply to message #120872] Fri, 02 December 2005 09:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: superDACAL.hotmail.com

I have done as you said, but it still don't work.
Then I reebooted the system and searched all Eclipse for the Error I have
made.

I reemembered to change my environmentvaribles. It works on the command
prompt (I run on Win XP proofecional service pack 2) and wrote Java, then
there came the list of commands, and the Java menu in my toturial works
again (see above).

THere are only one change in Eclipse, and thats the Error messege:

"Incompatible .class files version in required binaries. Project
'Boghandel' is targeting a 1.4 runtime, but is compiled against
'C:Programmer/Java/jdk1.5.0_06/jre/lib/jsse.jar' which requires a 1.5
runtime"
Re: Java Runtime 1.2/1.4 FIXED [message #122058 is a reply to message #121251] Tue, 06 December 2005 09:56 Go to previous message
Eclipse UserFriend
Originally posted by: superDACAL.hotmail.com

Windiw > Prefferences > JAva > Compiler

It vere target to a 1.4 copilence level, I changed it to 5.0 and it worked.
Previous Topic:Which one of news groups is relating to OSGi?
Next Topic:Upgrading Eclipse
Goto Forum:
  


Current Time: Mon Aug 26 04:16:31 GMT 2024

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

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

Back to the top