Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2008 18:06:53 +0100
From:      "Michael Schuh" <michael.schuh@gmail.com>
To:        freebsd-ports@freebsd.org, freebsd-java@freebsd.org
Subject:   javavmwrapper doesn't respects jdk1.6.0
Message-ID:  <1dbad3150802120906l30f8f45dkee691861943288a7@mail.gmail.com>

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

the wrapperscript /usr/local/bin/java should get updated.
beyond the lines 513 it should get expanded with " 1.6" and an
new case "1.6+)..."
---8<---snip---8<---
        for version in ${JAVA_VERSION}; do
            case "${version}" in
                1.1+)
                    _JAVAVM_VERSION=3D"${_JAVAVM_VERSION} 1.1 1.2 1.3 1.4 1=
.5
1.6"
                    ;;
                1.2+)
                    _JAVAVM_VERSION=3D"${_JAVAVM_VERSION} 1.2 1.3 1.4 1.5 1=
.6"
                    ;;
                1.3+)
                    _JAVAVM_VERSION=3D"${_JAVAVM_VERSION} 1.3 1.4 1.5 1.6"
                    ;;
                1.4+)
                    _JAVAVM_VERSION=3D"${_JAVAVM_VERSION} 1.4 1.5 1.6"
                    ;;
                1.5+)
                    _JAVAVM_VERSION=3D"${_JAVAVM_VERSION} 1.5 1.6"
                    ;;
                1.6+)
                    _JAVAVM_VERSION=3D"${_JAVAVM_VERSION} 1.6"
                    ;;
                *)
                    _JAVAVM_VERSION=3D"${_JAVAVM_VERSION} ${version}"
                    ;;
--->8---snap--->8---

best regards

michael
--=20
=3D=3D=3D m i c h a e l - s c h u h . n e t =3D=3D=3D
Michael Schuh
Postfach 10 21 52
66021 Saarbr=FCcken
phone: 0681/8319664
mobil:  0177/9738644
@: m i c h a e l . s c h u h @ g m a i l . c o m

=3D=3D=3D Ust-ID: DE251072318 =3D=3D=3D



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