You are not logged in.
Pages: 1
I am trying to be able to use arch to do some java coding and my problem is I installed jre7-openjdk via:
pacman -S jre7-openjdk
But apparently javac was not installed.
I did some searching and apparently if you just install the runtime environment javac is not installed or there could be sourcing issues but I think I installed the right package and when I do:
find / -name javac
It is not installed so I am kind of at a loss.
echo $JAVA_HOME
/usr/lib/jvm/java-7-openjdk/jre
I believe if it was a path issue I should still find the java compiler javac in the java-7-openjdk directory.
Any help would be greatly appreciated.
Last edited by soulrainX (2013-03-20 18:35:36)
n00b learning linux
arch + lxde
Offline
usually if you install the jdk7-openjdk then it will install "javac"
jre7-openjdk installs "java"
i think
andy
Offline
yup that is what I have been reading in my search for answers but alas it didn't for me...
I will remove the package then add it again I guess... at least get to learn how to remove a package now.
thanks for the reply.
n00b learning linux
arch + lxde
Offline
usually if you install the jdk7-openjdk then it will install "javac"
jre7-openjdk installs "java"
i think
andy
That's right jre7-openjdk installs the Java runtime environment. As the name implies you only can run programs with this. Therefore only the java binary will get installed. If you install jdk7-openjdk, then both, java and javac will get installed since this is the Java development kit and includes everything to build and run Java programs.
Last edited by i_love_penguins (2013-03-20 18:07:24)
Offline
Thanks guys I can't believe I did not decern the prefix jdk7 verse jre7... I really appreciate the help and replies.
Would have taken me a while to get that on my own!
Cheers fellas.
n00b learning linux
arch + lxde
Offline
please mark your thread as solved
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
done.
n00b learning linux
arch + lxde
Offline
Pages: 1