[Bug 244776] sysutils/javaservicewrapper does not build with JDK 11
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 12 21:06:47 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244776
Bug ID: 244776
Summary: sysutils/javaservicewrapper does not build with JDK 11
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: tommyhp2 at gmail.com
CC: michael.osipov at siemens.com
CC: michael.osipov at siemens.com
Flags: maintainer-feedback?(michael.osipov at siemens.com)
The port does not build with JDK 11:
compile-java:core:
[mkdir] Created dir:
/wrkdirs/usr/ports/sysutils/javaservicewrapper/work/wrapper_3.5.41_src/build/classes
[mkdir] Created dir:
/wrkdirs/usr/ports/sysutils/javaservicewrapper/work/wrapper_3.5.41_src/build/testclasses
[mkdir] Created dir:
/wrkdirs/usr/ports/sysutils/javaservicewrapper/work/wrapper_3.5.41_src/lib
[javac] Compiling 108 source files to
/wrkdirs/usr/ports/sysutils/javaservicewrapper/work/wrapper_3.5.41_src/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with
-source 1.4
[javac] error: Source option 1.4 is no longer supported. Use 6 or later.
[javac] error: Target option 1.4 is no longer supported. Use 1.6 or later.
-------------------------------------------------------
When patching the default.properties as below per Makefile's "USE_JAVA=
1.8+"
--- default.properties.ori 2020-03-12 20:53:43.795864000 +0000
+++ default.properties 2020-03-12 20:54:02.283785000 +0000
@@ -28,7 +28,7 @@
junit.failonerror = true
# Minimum version of Java required to build the Wrapper
-javac.target.version=1.4
+javac.target.version=1.8
# Location of java to build the pre-release
javac.dir=E:\\j2sdk1.4.2_19
This error is thrown:
BUILD FAILED
/wrkdirs/usr/ports/sysutils/javaservicewrapper/work/wrapper_3.5.41_src/build.xml:552:
javah does not exist under Java 10 and higher, use the javac task with
nativeHeaderDir instead
I've also tried with the latest 3.5.43 with same result.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list