Home » Newcomers » Newcomers » Java Runtime 1.2/1.4
Java Runtime 1.2/1.4 [message #120821] |
Wed, 30 November 2005 06:05  |
Eclipse User |
|
|
|
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 10:53   |
Eclipse User |
|
|
|
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 10:57   |
Eclipse User |
|
|
|
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-)
|
|
| | |
Goto Forum:
Current Time: Fri May 09 18:46:47 EDT 2025
Powered by FUDForum. Page generated in 0.09109 seconds
|