Comments (12)
I just released 1.6.0 and there is a java5 jar in there.
Hopefully this works out!
from applecommander.
Are you looking for the command-line interface or more the GUI?
We maybe can experiment with targeting an earlier JVM. Not really certain how/if that will work, but it may be worth a shot. This cascades into related projects as well (SHK, BASIC tokenizer, as well as the AppleSingle support). Some of those use Java 8 language features, so compiling with Java 1.5 becomes an issue.
from applecommander.
from applecommander.
To actually answer your question, I'm only concerned about the command line interface.
from applecommander.
I was able to use retrolambda to convert the ac jar file to be java 5 compatible. I attached the script I used bye gradle or maven can be used too.
AppleCommander-ac-1.4.0.jar.java5.zip
from applecommander.
Wow! I never knew anything like this existed. 😂
My quick google also came up with an actual Gradle plugin: https://github.com/evant/gradle-retrolambda
from applecommander.
from applecommander.
Looks like the Gradle plugin isn't going to work (at least not easily) with the weird Gradle build I setup for AppleCommander (which is fine).
The plugin updates every *.class
file but only those that are sourced from AppleCommander itself. The 3rd party libraries remain whatever version they were (1.8 mostly).
So I'm pulling in your script (altered to exist in a tools
directory) since it updates/fixes the final product, including any dependencies.
from applecommander.
from applecommander.
Yes, I did see that!
I actually left it in place since I've been running it against the gradle output in the build directory. I think that means gradle will clean it up whenever I do a ./gradlew clean assemble
(etc).
from applecommander.
from applecommander.
@a2geek java.util.Objects is part of Java 7!
java version "1.5.0_30"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_30-b03-389-9M3425)
Java HotSpot(TM) Client VM (build 1.5.0_30-161, mixed mode, sharing)
java -jar ac.jar -as samples.dsk ascii <"ascii"
Exception in thread "main" java.lang.NoClassDefFoundError: java/util/Objects
at io.github.applecommander.applesingle.AppleSingle.read(AppleSingle.java:146)
at com.webcodepro.applecommander.ui.ac.putAppleSingle(ac.java:362)
at com.webcodepro.applecommander.ui.ac.putAppleSingle(ac.java:354)
at com.webcodepro.applecommander.ui.ac.main(ac.java:156)
from applecommander.
Related Issues (20)
- DOS header is missing HOT 6
- Doesn't adapt to dark/light mode changes while running HOT 3
- Some toolbar icons not readable in dark mode HOT 3
- Import Wizard doesn't disable Edit and Remove buttons after editing item; crashes when clicked HOT 3
- Applesoft BASIC programs fail to decode if they run up to the edge of buffer
- Windows should have a reasonable minimum size HOT 1
- Imported file detected as type BIN HOT 1
- acx format with DOS 3.3 source disk doesn't setup free sectors correctly
- acx copy --recursive does not copy files correctly. HOT 4
- For each wizard, make all pages the same height HOT 1
- Handle confirmation when exiting with modified disk contents HOT 1
- Windows should have a reasonable minimum size (continuation)
- Corrupted exports HOT 2
- Problems reading nib disk images HOT 2
- Disk image wizard doesn't honor nibble ordered setting
- The track (255) and sector (15) do not match the disk image size. HOT 1
- Crash when viewing invalid files
- Cannot import text files: File does not appear to be an Applesoft program HOT 1
- Save button acts as Save As button
- ApplesoftBASIC program truncated when decompiled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from applecommander.