Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Aug 2018 20:27:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 213081] sysutils/javaservicewrapper: does not build if OpenJDK 8 ist not installed
Message-ID:  <bug-213081-7788-ZJvwhw8pc4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213081-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213081-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213081

--- Comment #7 from Michael Osipov <1983-01-06@gmx.net> ---
So it pretty much seems like this issue has been overcome by events. Ant 1.=
9 is
gone from the ports tree, only Ant 1.10 is available. Ant 1.10 requires Jav=
a 8.
So this issue cannot be solved anymore:

> (cd /usr/ports/sysutils/javaservicewrapper/work/wrapper_3.5.33_src;  /usr=
/bin/env JAVA_HOME=3D/usr/local/openjdk7 XDG_DATA_HOME=3D/usr/ports/sysutil=
s/javaservicewrapper/work  XDG_CONFIG_HOME=3D/usr/ports/sysutils/javaservic=
ewrapper/work  HOME=3D/usr/ports/sysutils/javaservicewrapper/work PATH=3D/u=
sr/ports/sysutils/javaservicewrapper/work/.bin:/sbin:/bin:/usr/local/sbin:/=
usr/local/bin:/usr/sbin:/usr/bin:/home/mosipov/bin NO_PIE=3Dyes MK_DEBUG_FI=
LES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_LINT=3DYES PREFIX=3D/usr=
/local  LOCALBASE=3D/usr/local  CC=3D"cc" CFLAGS=3D"-O2 -pipe  -DLIBICONV_P=
LUG -fstack-protector -fno-strict-aliasing"  CPP=3D"cpp" CPPFLAGS=3D"-DLIBI=
CONV_PLUG"  LDFLAGS=3D" -fstack-protector" LIBS=3D""  CXX=3D"c++" CXXFLAGS=
=3D"-O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing  -DLIB=
ICONV_PLUG"  MANPREFIX=3D"/usr/local" BSD_INSTALL_PROGRAM=3D"install  -s -m=
 555"  BSD_INSTALL_LIB=3D"install  -s -m 0644"  BSD_INSTALL_SCRIPT=3D"insta=
ll  -m 555"  BSD_INSTALL_DATA=3D"install  -m 0644"  BSD_INSTALL_MAN=3D"inst=
all  -m 444" /usr/local/bin/ant -Dbits=3D32 -Dfreebsd.ports.destdir=3D/usr/=
ports/sysutils/javaservicewrapper/work/stage )
> Exception in thread "main" java.lang.UnsupportedClassVersionError: org/ap=
ache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
>         at java.security.SecureClassLoader.defineClass(SecureClassLoader.=
java:142)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>         at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.ja=
va:482)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213081-7788-ZJvwhw8pc4>