Bug 67593 - Incorrect dependency for /usr/ports/java/netbeans
Summary: Incorrect dependency for /usr/ports/java/netbeans
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: Jimmy Olgeni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-05 07:10 UTC by John Cochran
Modified: 2004-06-05 09:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Cochran 2004-06-05 07:10:12 UTC
The port for java/netbeans has been upgraded from version 3.5 to version 3.6, but the Makefile has the line

    USE_JAVA= 1.3+

in it.
If you attempt to install this package when you do not already have a JDK installed, the port will install /usr/ports/java/diablo-jdk13 as the desired JDK. The when you attempt to run netbeans, you will get an error message that the major.minor version number of 48.0 is not supported.

Fix: 

Change the line in the Makefile to

USE_JAVA= 1.4+
How-To-Repeat: Install the /usr/ports/java/netbean package on a computer that does not have a pre-existing JDK installed.
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2004-06-05 07:49:26 UTC
Responsible Changed
From-To: freebsd-ports-bugs->olgeni

Over to maintainer.
Comment 2 Jimmy Olgeni freebsd_committer freebsd_triage 2004-06-05 09:35:26 UTC
State Changed
From-To: open->closed

Committed, thanks!