Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2004 23:02:03 -0700 (PDT)
From:      John Cochran <jdc@fiawol.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/67593: Incorrect dependency for /usr/ports/java/netbeans
Message-ID:  <200406050602.i55623We038782@www.freebsd.org>
Resent-Message-ID: <200406050610.i556ACEV063468@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         67593
>Category:       ports
>Synopsis:       Incorrect dependency for /usr/ports/java/netbeans
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 04 23:10:12 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     John Cochran
>Release:        4.10-RELEASE
>Organization:
>Environment:
FreeBSD smof.fiawol.org 4.10-RELEASE FreeBSD 4.10-RELEASE #1: Fri May 28 16:49:41 EDT 2004     root@smof.fiawol.org:/usr/obj/usr2/src/sys/JOHNC  i386
>Description:
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. 

>How-To-Repeat:
Install the /usr/ports/java/netbean package on a computer that does not have a pre-existing JDK installed.
>Fix:
      
Change the line in the Makefile to

USE_JAVA= 1.4+

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406050602.i55623We038782>