Home » Newcomers » Newcomers » cannot compile private static LinkedList<Character> keysTyped = new LinkedList<Character&g
cannot compile private static LinkedList<Character> keysTyped = new LinkedList<Character&g [message #219036] |
Sat, 30 June 2007 17:04 |
Eclipse User |
|
|
|
Originally posted by: Morten.Gulbrandsen.rwth-Aachen.de
http://pastebin.ca/595919
source code
http://www.cs.princeton.edu/introcs/23recursion/PlasmaCloud. java.html
woun't compile.
my Java version is
after eclipse invokation
inside eclipse 1.4 from within the IDE.
dunno how to update it.
Please help.
from command line I have
javac -version
Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp
2000, 2006. All rights reserved.
java -version
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)
Inside eclipse the version is 1.4
morten@Westparkstr42:~$ uname -a
Linux Westparkstr42 2.6.18-4-486 #1 Wed May 9 22:23:40 UTC 2007 i686
GNU/Linux
morten@Westparkstr42:~$ linuxinfo
Linux Westparkstr42 2.6.18-4-486 #1 Wed May 9 22:23:40 UTC 2007
One AMD Opteron 2010MHz processor, 4023.04 total bogomips, 885M RAM
System library 2.3.6
Inside eclipse, after invoking eclipse IDE.
Java Eclipse SDK, as root.
Available tasks
scan for updates
search for updates for all the installed features.
I start or invoke eclipse as root from Command line.
each update takes 4 - 10 minutes,
Then i have to select update site mirror.
Which is annoying.
Why can't i select all updates with one click as root ?
i want all updates for java C++ including debugger.
including CDT and IBM java
it takes 2-3 hours to complete
due to the fact that I alwaus have to select update site mirror.
Then I get No updates for the currently installed features found.
Try again later.
_OK_
I select inside eclipse
window
preferences
java
Compiler
Configure Project Specific
JDK Compliance
Compiler compliance level.
I can choose between
1.3, 1.4, 5.0 or 6.0.
When selecting 6.0 Compliance,
make sure to have a 6.0 JRE installed and activated.
I click configure and get
Installed JREs
Add, remove or edit JRE definitions.
By default. the checked JRE is added to the buld path of
newly created java projects.
Installed JREs: (Inside eclipse)
name
java-1.4.2-gcj-4.1-1.4.2.0
Location
/usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0
Type
Standard VM
Please help,
How can I change this under debian etch?
I also click help
software updates
find and install.
Install Update sites to visit.
I am only interested in all C++ features, including a debugger and
watchmalloc and a new java compiler,
no more.
please help how can I do this with eclipse.
It takes hours to complete that,
many questions during the search for new updates,
and always I answer with yes ok,
No help
If I remember correctly I have used eclipse as part of
the Intel C++ distribution under fedora and suse linux.
That worked.
I believe the problem is this debian version of eclipse, which is not
tailored for C++ or java development.
Upon start of eclipse.
Westparkstr42:/home/morten# eclipse &
[1] 1243
Westparkstr42:/home/morten# searching for compatible vm...
testing /usr/lib/jvm/java-gcj...found
Why is java-1.4.2-gcj-4.1-1.4.2.0 inside eclipse and outside
eclipse I read
morten@Westparkstr42:~$ javac -version
Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp
2000, 2006. All rights reserved.
morten@Westparkstr42:~$
Something is very wrong.
It would be a great help for me if someone could offer a webcast how
to use, debug and utilize eclipse with the latest java update,
from sun, IBM or gnu and C++.
best regards
Morten
Morten Gulbrandsen
Westparkstraße 42
D-47803 Krefeld
02151 . 411 9 114 # ISDN
_0160 . 27 46 152 # GSM D1
01520 . 135 60 40 # GSM D2
01805 323266 15477 # facsimile
________morten41 # skype.com
voice-over-IP
rfc 3261 sip session initiation protocol
02151-44-97-379 sip.carpo.de
02151-74-79-466 Sipgate.de
02151-76-77-230 arcor.de
1-747-126 1094 sipphone.com
0844-97-91-626 voipuser.org
http://freenet-homepage.de/Gulbrands3n
http://morten-gulbrandsen.spaces.live.com
http://home.arcor.de/morten.gulbrandsen/Cube/rubik.html
http://lordbyte-whitfield.blog.de/
http://www.secondlife.com/
|
|
|
Re: cannot compile private static LinkedList<Character> keysTyped = new LinkedList<Charact [message #219045 is a reply to message #219036] |
Sat, 30 June 2007 23:38 |
Mark Dexter Messages: 324 Registered: July 2009 |
Senior Member |
|
|
Morten Gulbrandsen wrote:
> http://pastebin.ca/595919
>
> source code
>
> http://www.cs.princeton.edu/introcs/23recursion/PlasmaCloud. java.html
>
> woun't compile.
>
> my Java version is
> after eclipse invokation
> inside eclipse 1.4 from within the IDE.
>
> dunno how to update it.
> Please help.
>
> from command line I have
>
> javac -version
> Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp
> 2000, 2006. All rights reserved.
>
>
>
> java -version
> java version "1.5.0_10"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)
>
> Inside eclipse the version is 1.4
>
> morten@Westparkstr42:~$ uname -a
> Linux Westparkstr42 2.6.18-4-486 #1 Wed May 9 22:23:40 UTC 2007 i686
> GNU/Linux
>
>
> morten@Westparkstr42:~$ linuxinfo
> Linux Westparkstr42 2.6.18-4-486 #1 Wed May 9 22:23:40 UTC 2007
> One AMD Opteron 2010MHz processor, 4023.04 total bogomips, 885M RAM
> System library 2.3.6
>
>
>
> Inside eclipse, after invoking eclipse IDE.
>
> Java Eclipse SDK, as root.
>
> Available tasks
>
> scan for updates
>
> search for updates for all the installed features.
>
>
> I start or invoke eclipse as root from Command line.
>
> each update takes 4 - 10 minutes,
>
>
> Then i have to select update site mirror.
>
> Which is annoying.
>
>
> Why can't i select all updates with one click as root ?
>
>
> i want all updates for java C++ including debugger.
>
> including CDT and IBM java
>
> it takes 2-3 hours to complete
> due to the fact that I alwaus have to select update site mirror.
>
>
>
> Then I get No updates for the currently installed features found.
> Try again later.
>
> _OK_
>
>
>
>
>
> I select inside eclipse
> window
> preferences
> java
>
>
> Compiler
>
> Configure Project Specific
>
> JDK Compliance
>
> Compiler compliance level.
>
> I can choose between
> 1.3, 1.4, 5.0 or 6.0.
>
>
> When selecting 6.0 Compliance,
> make sure to have a 6.0 JRE installed and activated.
>
>
>
> I click configure and get
>
> Installed JREs
>
> Add, remove or edit JRE definitions.
>
> By default. the checked JRE is added to the buld path of
> newly created java projects.
>
>
> Installed JREs: (Inside eclipse)
>
> name
> java-1.4.2-gcj-4.1-1.4.2.0
>
> Location
> /usr/lib/jvm/java-1.4.2-gcj-4.1-1.4.2.0
>
>
> Type
> Standard VM
>
> Please help,
>
> How can I change this under debian etch?
>
>
>
>
>
> I also click help
>
> software updates
>
> find and install.
>
> Install Update sites to visit.
>
>
> I am only interested in all C++ features, including a debugger and
> watchmalloc and a new java compiler,
> no more.
>
>
> please help how can I do this with eclipse.
>
> It takes hours to complete that,
> many questions during the search for new updates,
>
> and always I answer with yes ok,
>
>
> No help
>
>
> If I remember correctly I have used eclipse as part of
> the Intel C++ distribution under fedora and suse linux.
> That worked.
>
> I believe the problem is this debian version of eclipse, which is not
> tailored for C++ or java development.
>
>
> Upon start of eclipse.
>
> Westparkstr42:/home/morten# eclipse &
> [1] 1243
> Westparkstr42:/home/morten# searching for compatible vm...
> testing /usr/lib/jvm/java-gcj...found
>
>
> Why is java-1.4.2-gcj-4.1-1.4.2.0 inside eclipse and outside
> eclipse I read
>
> morten@Westparkstr42:~$ javac -version
> Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp
> 2000, 2006. All rights reserved.
> morten@Westparkstr42:~$
>
> Something is very wrong.
>
> It would be a great help for me if someone could offer a webcast how
> to use, debug and utilize eclipse with the latest java update,
> from sun, IBM or gnu and C++.
>
>
>
> best regards
>
> Morten
>
>
> Morten Gulbrandsen
> Westparkstraße 42
>
> D-47803 Krefeld
>
>
> 02151 . 411 9 114 # ISDN
> _0160 . 27 46 152 # GSM D1
> 01520 . 135 60 40 # GSM D2
>
> 01805 323266 15477 # facsimile
> ________morten41 # skype.com
>
>
> voice-over-IP
> rfc 3261 sip session initiation protocol
>
>
> 02151-44-97-379 sip.carpo.de
> 02151-74-79-466 Sipgate.de
> 02151-76-77-230 arcor.de
> 1-747-126 1094 sipphone.com
> 0844-97-91-626 voipuser.org
>
> http://freenet-homepage.de/Gulbrands3n
>
> http://morten-gulbrandsen.spaces.live.com
>
> http://home.arcor.de/morten.gulbrandsen/Cube/rubik.html
>
> http://lordbyte-whitfield.blog.de/
>
> http://www.secondlife.com/
>
>
>
Hi. If I understand part of your question, you want to know how to set
the correct Java version inside Eclipse. The way to do this is: Window /
Pfererences / Java / Installed JREs. This gives you a form where you can
browse to the correct version of the JRE on your machine. Hope this
helps. Mark Dexter
|
|
|
Goto Forum:
Current Time: Fri Apr 26 18:10:46 GMT 2024
Powered by FUDForum. Page generated in 0.08084 seconds
|