Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Compile errors #86

Open
dpbabcock opened this issue Jul 21, 2020 · 2 comments
Open

Compile errors #86

dpbabcock opened this issue Jul 21, 2020 · 2 comments

Comments

@dpbabcock
Copy link

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

@SArmstr0ng
Copy link

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)

@dpbabcock
Copy link
Author

dpbabcock commented Dec 22, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants