OpenBD / openbd-core

The original open source Java powered GPL CFML runtime engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile errors

dpbabcock opened this issue · comments

commented

Running on MacOS Catalina 10.15.6.
javac 1.8.0_221
Apache Ant(TM) version 1.10.8 compiled on May 10 2020.

Logged to the build folder, any of the ANT targets fails to compile with:

compile:
[javac] /Users/dbabcock/openbd-core-master/build/build.xml:215: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2073 source files to /Users/dbabcock/openbd-core-master/build/classes
[javac] /Users/dbabcock/openbd-core-master/src/com/bluedragon/browser/SliderApplet.java:56: error: cannot find symbol
[javac] win = JSObject.getWindow(thisApplet);
[javac] ^
[javac] symbol: method getWindow(Applet)
[javac] location: class JSObject
[javac] /Users/dbabcock/openbd-core-master/src/com/bluedragon/browser/TextInput.java:74: error: cannot find symbol
[javac] win = JSObject.getWindow(_parent);
[javac] ^
[javac] symbol: method getWindow(Applet)
[javac] location: class JSObject
[javac] /Users/dbabcock/openbd-core-master/src/com/bluedragon/browser/TreeApplet.java:62: error: cannot find symbol
[javac] win = JSObject.getWindow(thisApplet);
[javac] ^
[javac] symbol: method getWindow(Applet)
[javac] location: class JSObject
[javac] /Users/dbabcock/openbd-core-master/src/com/bluedragon/platform/java/JavaPlatform.java:207: error: package sun.tools.javac is not visible
[javac] sun.tools.javac.Main javac = new sun.tools.javac.Main(javacOut, "BD Web Services Client Compiler");
[javac] ^
[javac] (package sun.tools.javac is declared in module jdk.rmic, which is not in the module graph)
[javac] /Users/dbabcock/openbd-core-master/src/com/bluedragon/platform/java/JavaPlatform.java:207: error: package sun.tools.javac is not visible
[javac] sun.tools.javac.Main javac = new sun.tools.javac.Main(javacOut, "BD Web Services Client Compiler");
[javac] ^
[javac] (package sun.tools.javac is declared in module jdk.rmic, which is not in the module graph)
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 5 errors

Long shot questions:

Are you possibly using Java SE 8 runtime and perhaps don't have the full
Java SE 8 SDK installed and/or environment variables set for javac compiler?

Is there another version of Java on your system? With its JDK? More than one?

Is Oracle JavaFX installed? (should be the package holding "JSOBject")
Are JavaFX prerequisites installed? (may need Oracle's Java, not OpenJDK or other JDK)

commented