0

I'm trying to install this Python library (works with Java) and the read me file says to tell it the path to my JDK installation.

Any ideas how I would find this? What is it asking for, a directory?

I tried which java but that just said /user/bin/java. I don't think that's what it wants.

I also tried > sudo find / iname="*jdk*" but that seemed to just list 1000s of directories for some reason.

I'm on Fedora release 14 (Laughlin)

2 Answers 2

1

It's a Fedora installation, so you can try rpm -qa | grep jdk to get an idea of which java package is installed. You should see a java-x.x.x-openjdk and hopefully, a java-x.x.x-openjdk-devel package. If so, your java environment will probably be in /usr/lib/jvm/java/.

2
  • The alternatives subsystem, used by the distro's Java packages, put the relevant executables in /usr/bin. May 9, 2011 at 14:58
  • Well, is his app/library looking for the executable or the environment directory? Sometimes, I encounter applications that require environment variables to be defined like: export JAVA_PATH=/usr/lib/jvm/java/bin
    – ewwhite
    May 9, 2011 at 15:02
1

Install the java-1.6.0-openjdk-devel package.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .