Since the Jace binary is no longer available on SourceForge due to SourceForge's shenanigans of drive-by-installers, and Blurry has been too lazy to update the README with a working download link (/me glares), let alone provide _actual_ instructions on how to even *build* Jace (/me facepalm) ... here is what I did to get Jace running on OSX:
First I had to install Maven. Thankfully I already had brew installed so this was a simple:
brew install maven
To build Jace:
mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
I then got this cryptic error ...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project jace: Fatal error compiling: invalid target release: 1.8 -> [Help 1]
... because I had Java 1.8 JRE but only the Java 1.7 JDK. Gee, thanks for _useful descriptive_ error message Maven ...
After tracking how to download the Java 1.8 JDK from the command line working around Oracle's "Accept License" nonsense:
curl -L -O -H "Cookie: oraclelicense=accept-securebackup-cookie" -k "
https://edelivery.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-macosx-x64.dmg"
open jdk-8u66-macosx-x64.dmg
I was *finally* able to build Jace.
When I went to run it:
java -jar target/jace-2.0-SNAPSHOT.jar
I got this error message:
no main manifest attribute, in target/jace-2.0-SNAPSHOT.jar
I tracked down the startup class, but no dice:
java -cp target/jace-2.0-SNAPSHOT.jar jace.JaceApplication
Futzing around with the Maven project file to include ALL the dependencies:
<!-- BEGIN -->
<!--
https://ivan-site.com/2012/05/download-oracle-java-jre-jdk-using-a-script/ -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>jace.JaceApplication</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
<!-- END -->
I **finally** was able to build a JAR file that runs!
java -jar target/jace-2.0-SNAPSHOT-jar-with-dependencies.jar
Ho Le Fuk. All that rigmarole just to build a Java program -- like I have nothing better to do on Sunday morning to track down a broken build and a million dependencies. Hmm, wait ... well, at least maybe now I can fix that Shift-Insert bug. :-)
Anyways, nice job Blurry and Nick on Jace! Now if only we could get a way to bsave and bload memory ... Yeah, yeah, use the source. :)
Since others may be interested in a binary Jace.JAR as well I uploaded it here:
https://github.com/Michaelangel007/jace/blob/master/target/jace-2.0-SNAPSHOT-jar-with-dependencies.jar
Until the official Jace repo gets updated with build instructions, build script, run script, a fixed pom.xml, an updated README, and a binary .JAR, I forked the repo:
https://github.com/Michaelangel007/jace
Back to playing with HGR fonts :)
https://github.com/Michaelangel007/apple2_hgr_font_tutorial
Michael -- "slightly grumpy when Open Source programs don't include simple compile instructions." I wonder if AppleWin does ... :-)