Lucas Garron
Premium Member
A while ago, I created a hacked version of AnimCube that had keyboard commands. It's used here. It compiles/runs fine in Windows, but it doesn't load on my Mac.
So, I started over, with Jelinek's original source code, using the following steps:
1) Download http://software.rubikscube.info/AnimCube/AnimCube.java.
2) Open a Terminal window in the folder of AnimCube.java
3) "javac AnimCube.java" -> AnimCube.class is created.
4) "jar cvf AnimCube.jar AnimCube.class" -> AnimCube.jar is created.
Jelinek's jar file loads like this on both my Mac and Windows.
My jar file of his source code (compiled on Mac) fails to load and looks like this on my Mac.
In case it could be of use, my compiled class file is here.
It appears to be an issue with the way jar files are read/used on my Mac, but somehow Josef's compiler avoided the issue (in addition to being more compressed).
Does anyone know what would be causing this, and how I might fix it?
(And if anyone is getting different results on a Mac, could you let me know?)
So, I started over, with Jelinek's original source code, using the following steps:
1) Download http://software.rubikscube.info/AnimCube/AnimCube.java.
2) Open a Terminal window in the folder of AnimCube.java
3) "javac AnimCube.java" -> AnimCube.class is created.
4) "jar cvf AnimCube.jar AnimCube.class" -> AnimCube.jar is created.
Jelinek's jar file loads like this on both my Mac and Windows.
My jar file of his source code (compiled on Mac) fails to load and looks like this on my Mac.
In case it could be of use, my compiled class file is here.
It appears to be an issue with the way jar files are read/used on my Mac, but somehow Josef's compiler avoided the issue (in addition to being more compressed).
Does anyone know what would be causing this, and how I might fix it?
(And if anyone is getting different results on a Mac, could you let me know?)