Bug 41424 - Java SDK (JDK) installation directories should be unified
Summary: Java SDK (JDK) installation directories should be unified
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ernst de Haan
Depends on:
Reported: 2002-08-07 21:30 UTC by Ernst de Haan
Modified: 2002-08-10 11:54 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ernst de Haan freebsd_committer 2002-08-07 21:30:04 UTC
Currently, the JDK port directories have been unified, but the JDK
installation directories have not:

$ grep ^_JAVA_HOME_ /usr/ports/Mk/bsd.java.mk
_JAVA_HOME_FREEBSD_1_1=         ${LOCALBASE}/jdk1.1.8
_JAVA_HOME_FREEBSD_1_2=         ${LOCALBASE}/jdk1.2.2
_JAVA_HOME_FREEBSD_1_3=         ${LOCALBASE}/jdk1.3.1
_JAVA_HOME_SUN_LINUX_1_2=       ${LOCALBASE}/linux-sun-jdk1.2.2.012
_JAVA_HOME_BLACKDOWN_LINUX_1_3= ${LOCALBASE}/linux-blackdown-jdk1.3.1
_JAVA_HOME_IBM_LINUX_1_3=       ${LOCALBASE}/linux-ibm-jdk1.3.1
_JAVA_HOME_SUN_LINUX_1_3=       ${LOCALBASE}/linux-jdk1.3.1
_JAVA_HOME_SUN_LINUX_1_4=       ${LOCALBASE}/linux-jdk1.4.0

Suggested change:

Blackdown (Linux) 1.2 ==> linux-blackdown-jdk1.2.2
Sun (Linux) 1.3       ==> linux-sun-jdk1.3.1
Sun (Linux) 1.4       ==> linux-sun-jdk1.4.0

Also, it seems a bit odd that the Sun (Linux) JDK 1.2 installation directory
includes '.012' at the end. That should be removed from the installation
directory. So additionally:

Sun (Linux) 1.2       ==> linux-sun-jdk1.2.2

I will make these changes if noone objects against them.

I'm putting this in GNATS for several reasons:
* My plan is clear to the outside world, if people object or are in favor,
  then I will probably hear so (at least in the first case :> )
* It helps me manage my FreeBSD time :)
* Now we have a history
Comment 1 Ernst de Haan freebsd_committer 2002-08-07 21:37:01 UTC
Responsible Changed
From-To: freebsd-ports->znerd

I'll handle this.
Comment 2 Ernst de Haan freebsd_committer 2002-08-07 21:38:10 UTC
The Sun (Linux) JDK 1.2.2 installation was already changed, but bsd.java.mk 
was still assuming the old installation directory. Just fixed this.

Comment 3 Ernst de Haan freebsd_committer 2002-08-10 11:54:26 UTC
State Changed
From-To: open->closed