| |
Slammer
Registered: Feb 2004 Posts: 416 |
Kick Assembler Thread 2
The previous thread took a little long to load, so this is a new fresh one.. |
|
... 590 posts hidden. Click here to view all posts.... |
| |
Mace
Registered: May 2002 Posts: 1799 |
This:
Relaunch64 3.3.7 (Build 20161031)
Mac OS X 10.11.6 (x86_64)
Java-Version 1.8.0_111 (Oracle Corporation)
KickAssembler v4.3
Produces this error:
Exception in thread "main" java.lang.UnsupportedClassVersionError: kickass/KickAssembler : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Please help :( |
| |
soci
Registered: Sep 2003 Posts: 473 |
You likely have 1.7 installed in parallel to 1.8. Try to change JAVA_HOME to point to 1.8 or uninstall 1.7. |
| |
Mace
Registered: May 2002 Posts: 1799 |
Although Relaunch said I had Java 1.8 installed, the actual JDK was 1.6 with merely the 1.8 runtime (JRE) on top.
I manually removed Java 6 JDK and Java 8 JRE and installed Java 8 JDK last.
Now it works. |
| |
Mace
Registered: May 2002 Posts: 1799 |
<deleted by user> |
| |
Mace
Registered: May 2002 Posts: 1799 |
Okay, can someone explain me why this doesn't work?
While compiling, all I get is "null", it doesn't even do the .print
*=$2000
.var theFile = getPath()+"/"+"test.prg"
.print theFile
.import c64 theFile
If I replace the last line with ".import c64 "(proper path)/test.prg", it works. And I checked for typos 10 times, so I'm sure I'm doing it right. |
| |
ruk
Registered: Jan 2012 Posts: 43 |
Change the .print to .printnow and you will see that it prints out the expected value in the first pass, before the odd "null" output.
I would say that this is bug since the value clearly is available in the first pass. The "null" is probably due to something going south while processing the .import directive |
| |
Mace
Registered: May 2002 Posts: 1799 |
Ok, this is weird:
.print theFile does nothing
.printnow theFile produces the correct filepath.
.import c64 theFile produces null
.import c64 "[correct path to file]" imports the file. |
| |
Mace
Registered: May 2002 Posts: 1799 |
Ok, this is a confirmed bug that will be resolved in the next update. |
| |
Norrland
Registered: Aug 2011 Posts: 14 |
Hellu...
Tried to code some stuff and ran into some problems, searched the manual but haven't found what I'm looking for.
Is it possible to modify names of variables when declaring or adressing them?
Maybe following snippet of non-working-code explains my question (in this example I would like to create 50 lists with the names list_1, list_2, list_3..):
.for (var i=0 ; i<50 ; i++)
.var list_+i=List() |
| |
Knut Clausen
Registered: Apr 2013 Posts: 18 |
Kickassembler won't let you create dynamic variable names like that.
.var myLists = List(50)
.for(var i = 0;i<myList.size();i++){
.eval myLists.add(List())
}
or
.var ht = Hashtable()
.for(var i = 0;i<50;i++){
.eval ht.put("list_" + i, List())
}
will give you what you need |
Previous - 1 | ... | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 - Next |