This is probably a really dumb question, but I'm not sure what to do with this. I'm relatively new to Java and I had written some stuff using 1.5 (that's working just fine) but I have to run it on a 1.4.2 system. Below is a simplified example of one of the problems and it has to do with HashMaps. The 1.5 code is:
When I try to compile this on 1.4.2 it complains about the <String, ...> bits. So I took them out but then when I try to compile it I get:
I'm assuming that this is probably something really simple, but I don't know what it is. Any ideas?
Another option is to use something like retroweaver/retrotranslator which AFAIK will convert essentially all 1.5 bytecode to be 1.4-compatible, but you'd have to try it.
posted 10 years ago
Thanks for the information about retroweaver/retrotranslator. I have retrotranslator working and everything seems to be fine (hallelujah! I was really dreading have to track down all the stuff I'd have to change...). I wasn't able to build retroweaver, the ant build.xml (I think it's actually the build.properties) is set up for Windows and not Linux so it doesn't find the 1.4 JVM even when I change the build.properties file. Right now I don't feel like messing with it. Maybe I'll get back to it later...unless someone here knows of a build.Linux.properties for it