Subject: pkg/11879: airportbasestationconfig pkg doesn't like our java
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/03/2001 05:17:15
>Number:         11879
>Category:       pkg
>Synopsis:       airportbasestationconfig pkg doesn't like our java
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 03 05:17:00 PST 2001
>Originator:     Luke Mewburn
>Release:        NetBSD 1.5
Luke Mewburn  <>
Luke Mewburn     <>
Wasabi Systems - providing NetBSD sales, support and service.
System: NetBSD 1.5_BETA2 NetBSD 1.5_BETA2 (ARGO) #0: Thu Nov 16 19:55:34 EST 2000 i386

	the net/airportbasestationconfig package needs java.
	there's a couple of problems however:
		* if you don't have java installed, the package
		  dependencies will install jdk 1.1.8.
		  jdk 1.1.8's /usr/pkg/java/bin/java doesn't support
		  `-jar', and i couldn't work out another way to get
		  1.1.8 to run the program.

		* if you manually install sun-jre13 to get java2 [1]
		  which supports -jar, the package won't work because
		  stuff is in /usr/pkg/java/jre/bin not /usr/pkg/java/bin.
		  this requires minor hackery of the
		  /usr/pkg/bin/airportbasestationconfig shell script
		  to work (change the PATH as appropriate).

	[1] gee, thanks sun. call it `jdk 1.3' and `java 2'. now
	that's confusion for the unwary... :/

	try and install net/airportbasestationconfig without a java
	runtime installed and noticed that the executable won't run
	(an error will occur from java about `-jar' being an invalid

	change the package depend up sun-jre13 or sun-jdk13 (or whatever).
	while you're there, fix the package to use a PATH of
	/usr/pkg/java/jre/bin instead of /usr/pkg/java/bin