You are not logged in.

#1 2008-03-07 20:22:38

Bestiapeluda
Member
From: Buenos Aires, Argentina
Registered: 2007-10-16
Posts: 181

How do I set a PATH for java

I installed eclipse, cdt, jre and jdk.
When I wanted to start eclipse it said it couldn't find jdk and something about a PATH that needed to be set.
Sorry that i cant be more specific, but i am at work atm.

Offline

#2 2008-03-07 20:25:18

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: How do I set a PATH for java

Just log out and log back in.  The classpath and path to java will be set from now on when you log in.

Offline

#3 2008-03-07 20:57:29

May-C
Member
Registered: 2007-12-28
Posts: 83

Re: How do I set a PATH for java

Why do you install jdk and jre? I always thought that jre is included in jdk....

Offline

#4 2008-03-07 20:59:53

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: How do I set a PATH for java

JDK depends on JRE.

Offline

#5 2008-03-07 21:35:16

May-C
Member
Registered: 2007-12-28
Posts: 83

Re: How do I set a PATH for java

ah ok... did not know that

Offline

#6 2008-03-07 21:55:20

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: How do I set a PATH for java

May-C wrote:

Why do you install jdk and jre? I always thought that jre is included in jdk....

That's the case with the jre and jdk that you get directly from sun.
But the jdk PKGBUILD removes the jre part, so the resulting jdk package depends on jre.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB