Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73 - kdebindings ebuild looks for java in /opt/java which doesn't exist
Summary: kdebindings ebuild looks for java in /opt/java which doesn't exist
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
Depends on:
Reported: 2002-01-07 15:53 UTC by Dan Armak (RETIRED)
Modified: 2002-01-12 19:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Dan Armak (RETIRED) gentoo-dev 2002-01-07 15:53:15 UTC
The kdebindings ebuild still looks for java in /opt/java (see recent 
gento-user report). It needs to be ixed. You (karltk) said you'd do so but 
haven't yet, so I'm initially assigning this to you.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-01-08 12:49:49 UTC
Also a bit off the topic, I think that the JDK and JRE should have the same
directory structure (jre in /opt/blackdown-ver/jre/* for both), so that the
plugins will stay in the same place, or alternatively, have a $JAVAPLUGINDIR or
similar that pointed to the root plugin dir.  This will make things more uniform
and easier for stuff like mozilla that adds the symlink for the java plugin.

I know the JDK and JRE packages do it as well, but what if mozilla was merged 
*after* JAVA .... ?
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-01-08 12:51:07 UTC
this will also be needed for dev-lang/swig I think.
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-01-12 02:41:02 UTC
The uniformity of a JDK/JRE is a bit tricky, really, since the directory layout
is specific to each JDK/JRE. The most-used JDK/JREs are of course those based on
the Sun distro, so they are fairly similar. But kissme, japhar, kaffe, sablevm
etc are completely different. 

Also, some packages rely on the fact that the directory layout is different in
the JDK and the JRE packages. We debated having /opt/java around, and having the
contents of /opt/java be standardized, but we decided against it at the time,
since the offical way of specifying the location of java is the env var JAVA_HOME.

However, we should perhaps cook together a java-config script that can tell us
the interesting paths, ie java-config --plugin-dir or java-config --java-home.
Comment 4 Dan Armak (RETIRED) gentoo-dev 2002-01-12 03:00:25 UTC
I understand you are perhaps looking for a new, better, global solution. To return to the bug' original topic, if there is somthing already in place, can we quickly change kdbindings to work with that? (e.g to look somewhere else than /opt/java that will work)
Comment 5 Dan Armak (RETIRED) gentoo-dev 2002-01-12 03:08:51 UTC
Sorry, just saw you modified the kdebindings ebuild. I'm emergng it now and it's working 
(configure recognized the java in the dir specified). So you can close this bug. (I'm not closing it 
because of the general java discusion in it).