Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » JRE problems?
JRE problems? [message #210856] Thu, 28 February 2008 15:29 Go to next message
Eclipse UserFriend
Originally posted by: info.femtotech.it

Hi to all,

this is the first time I write here and I apologize if my English is not
so good. Anyway, I hope it is good enough to say whatever I'm going to
say :)

I'm running Eclipse Europe C/C++ on Debian 4.0r3 Etch for AMD64. I
installed the sun-java5-jre but I'm not sure all is correctly configured.

I experience problems when debugging: it says it can't find the source
code and I get errors. I read a lot on this issue and it seems to be
related to a wrong java configuration.

So I ask you: how to check that Eclipse uses the java5-jre installed?

By the way, I'd use Eclipse to develop code for AVR: is this the right
place to ask questions about?


Thanks in advance.

Marco Trapanese

--
Femtotech
Re: JRE problems? [message #210884 is a reply to message #210856] Fri, 29 February 2008 07:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mknauer.innoopract.com

Checking the JRE is easy: In Eclipse click on 'Help' > 'About Eclipse
Platform' > 'Configuration Details'.

You'll probably find more thing than you want, but if you scroll down you
should see Java properties like 'java.version' or other VM specific
configuration parameters that are used in your Eclipse instance.

If you want to be really sure about the JVM that is used to run Eclipse,
start it with '-vm /path/to/your/bin/java'

Markus


Marco Trapanese wrote:

> Hi to all,
>
> this is the first time I write here and I apologize if my English is not
> so good. Anyway, I hope it is good enough to say whatever I'm going to
> say :)
>
> I'm running Eclipse Europe C/C++ on Debian 4.0r3 Etch for AMD64. I
> installed the sun-java5-jre but I'm not sure all is correctly configured.
>
> I experience problems when debugging: it says it can't find the source
> code and I get errors. I read a lot on this issue and it seems to be
> related to a wrong java configuration.
>
> So I ask you: how to check that Eclipse uses the java5-jre installed?
>
> By the way, I'd use Eclipse to develop code for AVR: is this the right
> place to ask questions about?
>
>
> Thanks in advance.
>
> Marco Trapanese
>
> --
> Femtotech
Re: JRE problems? [message #210994 is a reply to message #210856] Sat, 01 March 2008 09:35 Go to previous message
Eclipse UserFriend
Marco Trapanese wrote:
> Hi to all,
>
> this is the first time I write here and I apologize if my English is not
> so good. Anyway, I hope it is good enough to say whatever I'm going to
> say :)
>
> I'm running Eclipse Europe C/C++ on Debian 4.0r3 Etch for AMD64. I
> installed the sun-java5-jre but I'm not sure all is correctly configured.
>
> I experience problems when debugging: it says it can't find the source
> code and I get errors. I read a lot on this issue and it seems to be
> related to a wrong java configuration.
>
> So I ask you: how to check that Eclipse uses the java5-jre installed?

You should also look into which version/brand of Java's other tools are
in use: please look at the /etc/alternatives in Debian
and make sure they all point to the same JVM version/brand. Use
"update-java-alternatives --set java-1.5.0-sun"
to use a comfull Sun Java JVM.




Joost
Previous Topic:Using Eclipse with an already existing C/C++ project
Next Topic:CDT 4.0.x + Eclipse Europa/Ganymede + WinXP + MinGW = No Output after Build
Goto Forum:
  


Current Time: Thu Jul 17 20:01:31 EDT 2025

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

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

Back to the top