on parabola/archlinux, the latest version of java that will build jmol is java v8 - is this expected behavior?
FTBS with java v13
classes:
[mkdir] Created dir: /code/packages/abslibre/libre/jmol/src/jmol-14.29.54/build/classes
[javac] Compiling 1072 source files to /code/packages/abslibre/libre/jmol/src/jmol-14.29.54/build/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 6
[javac] error: Source option 6 is no longer supported. Use 7 or later.
[javac] error: Target option 6 is no longer supported. Use 7 or later.
BUILD FAILED
/code/packages/abslibre/libre/jmol/src/jmol-14.29.54/build.xml:449: Compile failed; see the compiler error output for details.
FTBS with java v10, v11
/JmolAudio.java:42: error: package sun.audio does not exist
[javac] import sun.audio.AudioData;
[javac] ^
[javac] /code/packages/abslibre/libre/jmol/src/jmol-14.29.54/src/org/jmol/util/JmolAudio.java:43: error: package sun.audio does not exist
[javac] import sun.audio.AudioDataStream;
[javac] ^
[javac] /code/packages/abslibre/libre/jmol/src/jmol-14.29.54/src/org/jmol/util/JmolAudio.java:48: error: package sun.audio does not exist
[javac] javax.sound.sampled.LineListener.class, sun.audio.AudioData.class,
[javac] ^
[javac] /code/packages/abslibre/libre/jmol/src/jmol-14.29.54/src/org/jmol/util/JmolAudio.java:49: error: package sun.audio does not exist
[javac] sun.audio.AudioDataStream.class })
[javac] ^
[javac] /code/packages/abslibre/libre/jmol/src/jmol-14.29.54/src/jspecview/application/AwtTreeNode.java:9: error: AwtTreeNode is not abstract and does not override abstract method children() in JSVTreeNode
[javac] public class AwtTreeNode extends
[javac] ^
[javac] /code/packages/abslibre/libre/jmol/src/jmol-14.29.54/src/org/jmol/util/JmolAudio.java:117: error: cannot find symbol
[javac] AudioInputStream ais = AudioSystem.getAudioInputStream(new AudioDataStream(
[javac] ^
[javac] symbol: class AudioDataStream
[javac] location: class JmolAudio
[javac] /code/packages/abslibre/libre/jmol/src/jmol-14.29.54/src/org/jmol/util/JmolAudio.java:118: error: cannot find symbol
[javac] new AudioData((byte[]) data)));
[javac] ^
[javac] symbol: class AudioData
[javac] location: class JmolAudio
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: /code/packages/abslibre/libre/jmol/src/jmol-14.29.54/src/org/jmol/util/BZone.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 7 errors
[javac] 6 warnings
BUILD FAILED
/code/packages/abslibre/libre/jmol/src/jmol-14.29.54/build.xml:449: Compile failed; see the compiler error output for details.
Jmol at sourceforge is Java6 only.
On Tue, Oct 22, 2019 at 12:15 PM bill-auger bill-auger@users.sourceforge.net wrote:
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
Related
Bugs: #608
On Tue, 22 Oct 2019 23:03:15 -0000 Bob wrote:
an intriguing response - is that to say there is another
jmol elsewhere? - or is that only to say that there are no future
plans to target other versions of java?
FWIW, the version that i compiled with java v8 appears to be
working as expected - though i am not sure what to expect - do
you know of a sample data file that i could try out?
On Tue, Oct 22, 2019 at 10:17 PM bill-auger bill-auger@users.sourceforge.net wrote:
switch (test) {
case "one":
case "two":
case "three":
}
And we do not have the capability (or desire) to modify that transpiler in
any way, so it is also locked into earlier versions of Eclipse (Juno,
maybe, can't remember).
One of my next tasks is to complete the switch-over to SwingJS so that
JSmol apps will be compatible with other SwingJS apps, such as Jalview and
VARNA. Right now what we are doing is loading the Jmol application onto
web pages that use SwingJS. Jalview, for instance, creates its own frame
and embeds the Jmol application into it, then communicates directly with
it, "java-to-java".
The collection of data files for testing is at
https://sourceforge.net/p/jmol/code/HEAD/tree/trunk/Jmol-datafiles/