[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] $JAVA_HOME has wrong value in make target
|
Chris,
Thanks for the tip. Upgraded to 3.0.
Same thing. Still no "environment variables pane".
Any more thoughts?
Anyone no more about this "magic" Don mentioned? Where does Eclipse get the
$JAVA_HOME value?
Quoting "Recoskie, Chris" <crecoskie@xxxxxx>:
> You have a problem already... To use Eclipse 3.1 you must use CDT 3.0.
> Using CDT 2.1.1 is not likely to work properly.
>
> ___________________________________________
>
> Chris Recoskie
> Software Designer
> IDE Frameworks Group
> Texas Instruments, Toronto
>
>
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> On
> > Behalf Of jo@xxxxxxxxxxxxxx
> > Sent: Wednesday, September 21, 2005 3:40 PM
> > To: CDT General developers list.; Doug Schaefer
> > Cc: CDT General developers list.
> > Subject: RE: [cdt-dev] $JAVA_HOME has wrong value in make target
> >
> > OK, I'll bite...where is the "environment variables pane"? I can't
> find
> > one by
> > either right clicking on the project and selecting properties or
> > project->properties.
> >
> > Can you be a little more specific?
> >
> > Thanks
> >
> > BTW -
> > Eclipse Version: 3.1.0
> > Build id: I20050401-1645
> >
> > CDT - 2.1.1
> >
> > Quoting Doug Schaefer <DSchaefer@xxxxxxx>:
> >
> > > JAVA_HOME is set by eclipse itself to point at the JRE it is using.
> > There's
> > > some magic in how that is determined. If you want it different, you
> > should
> > > set it in the environment variables pane of the project build
> > properties.
> > >
> > > Doug Schaefer
> > > Senior Software Developer
> > > QNX Software Systems
> > > > -----Original Message-----
> > > > From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> > On
> > > > Behalf Of jo@xxxxxxxxxxxxxx
> > > > Sent: Wednesday, September 21, 2005 2:53 PM
> > > > To: cdt-dev@xxxxxxxxxxx
> > > > Subject: [cdt-dev] $JAVA_HOME has wrong value in make target
> > > >
> > > > Hey Everyone,
> > > >
> > > > I have a standard C++ project. Everything is fine except when I
> try
> > to
> > > > build
> > > > it(using make) under exclipse. I can run make from the command
> line
> > > > without
> > > > any problem.
> > > >
> > > > Here is the the part of the make file that is failing:
> > > >
> > > > INCLUDE += -I $(JAVA_HOME)/include
> > > > INCLUDE += -I $(JAVA_HOME)/include/linux
> > > >
> > > > This is output in the console when I run this make target
> > > > make -k all
> > > > g++ -pthread -I /opt/blackdown-jre-1.4.2.01/include -I
> > > > /opt/blackdown-jre-1.4.2.01/include/linux
> > > >
> > > > As you can see $JAVA_HOME is set to /opt/blackdown-jre-1.4.2.01
> which
> > is
> > > > wrong!!!
> > > >
> > > > But when I type "echo $JAVA_HOME" from the command line I get
> > > > /usr/java/jdk1.5.0_02 which is correct
> > > >
> > > > When I go to window->preferences->java->installedJREs the only
> > installed
> > > > jre is
> > > > /usr/java/jdk1.5.0_02
> > > >
> > > > Why is the make target in CDT/Eclipse using /opt/blackdown-jre-
> > 1.4.2.01?
> > > > Where
> > > > does it get this value? How do I change it?
> > > >
> > > > Thanks for your help.
> > > >
> > > > Cheers
> > > >
> > > > J.O.
> > > >
> > > > _______________________________________________
> > > > cdt-dev mailing list
> > > > cdt-dev@xxxxxxxxxxx
> > > > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> > > _______________________________________________
> > > cdt-dev mailing list
> > > cdt-dev@xxxxxxxxxxx
> > > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> > >
> >
> >
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>