I tried your editor. It wont even launch with errors that are supposed to happen (!) (!!) , I was a bit surprised to read that. Are programs ever supposed to have errors? Even in a early stage when the programmer expects errors? Anyways! Heres the errors I got when I tried to launch the program:
Doubleclick jar: Could not find main class. Program will now exit. Title: Java Virtual Machine.
Command line with the instructions in the readme. It sounds very Sun-like because its so hard to understand and comes with a lot of programming gibberish. But the rezeditor notice sounds like you, unless its auto-generated (To run the project from the command line, go to the dist folder and
type the following: java -jar "RezEditor.jar"...): Lots of errors. Even worse. I dont even know where to start.
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n
umber in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Should I upgrade my Java? I have 1.5, and 1.6 has been released.
I would really like to try your app, but I wont work even to the degree you say! Sorry! A really sad thing, because I would really like something replace EVNEW (I wont even detail here how awful it is... that requires a separate post because its so horrible...). Well, maybe not so sad, because your editor wont do anything. But still. How does it look like? Pic? Apparently it does something , because it opens a boom GUI . I think you messed up and b0rked things up big time. I think you either messed up something with the main class, or my Java is old. I followed instuctions. Oh, and I saw your edit in my reply window or requiring ea, I put and it still gets the same error. It still messes up. Btw, why Java as language? Isnt C++ better? Thats what game creators endorse, at least. I hope it wont be slow, because Java has been infamous for performance problems. I love speed! I dont know how much it has bounds in reality (the slowness).
P.S. Why just boom as the first?
PS2. I will tell how much I like this idea and program later. And how much I really am annoyed at EVNEW, at its incapacity to do ANYTHING, even basic things, like selecting multiple resources at the same time, or ordering by name (the resources). ResEdit is capable of this, and it was never even meant for plugs; It was for Apple programmers (yes, Apple) in the mid- 90s to work with resources- that were somehow linked to coding in C!
Edit- I updated my Java, just for fun, because I couldnt waited to wait for hours for you to answer- the whole day for me, realistically. I updated my java- and now nothing happens. I dont even get errors. I never knew I actually liked errors. (Because I like errors more than nothing happening). I tried to run it from the command line per your instruction, that gives this confusing and terse error message:
C:\Documents and Settings\Tom\Työpöytä\rezeditor\dist>java -jar "RezEditor.jar"
-ea
Sorry, assertions are off
Turn on assertions, please.
Exception in thread "main" java.lang.IllegalMonitorStateException
at java.lang.Object.wait(Native Method)
at net.sourceforge.rezeditor.Main.main(Main.java:83)
Your main thing is again at fault- at line 83, it seems. Check line 83 to see what is bugged (I dont know if Enters count as lines, so youll have to figure the line for yourself). You have roaylly screwed up something, and badly it seems. Even if I know nothing about java, I know the main class is important...
Atleast this is improvement? Right? Right? :laugh: (Yes, if you didnt get it already, that was humor. I like to be funny. ) I dont get any errors anymore when I double-click on it! Huzza! Its not my to turn on assertions (whatever they may be), or even know how to turn them on, you'll have to do it. Package your app better next time kk?
This post has been edited by General Cade Smart : 23 June 2008 - 08:47 AM