Could not find the main class. Program will exit
Moderators: dorpond, trevor, Azhrei
Could not find the main class. Program will exit
I just tried Token Tool and I get this error on startup:
Java Virtual Machine Launcher
"Could not find the main class. Program will exit"
Same on two different machines. I have Java v1.5.0_06_b05. These PCs run all other java apps ok.
Any ideas?
-David
Java Virtual Machine Launcher
"Could not find the main class. Program will exit"
Same on two different machines. I have Java v1.5.0_06_b05. These PCs run all other java apps ok.
Any ideas?
-David
I just cranked out about 15 tokens very quickly
I'd like to make one observation as I see you may be in the process of doing a re-write according to some messges I have read tonight.
I'd like to see you take a look at the scaling code and see if you can tweak it a bit more. When scaling down to the 64x64 size I need, the scaling is a bit "crunchy" which in my video world means the anit-aliasing coude use a bit of work. I notice it more in black and white art, as color fools your eyes more.
Jumping into Photoshop and just doing a standard scale the image looks nicer (goes a bit softer). I don't expect you to be as good a PS, but if the Java tools allow you any adjustment in that area it would really help.
None the less, great tool!
-David
I'd like to make one observation as I see you may be in the process of doing a re-write according to some messges I have read tonight.
I'd like to see you take a look at the scaling code and see if you can tweak it a bit more. When scaling down to the 64x64 size I need, the scaling is a bit "crunchy" which in my video world means the anit-aliasing coude use a bit of work. I notice it more in black and white art, as color fools your eyes more.
Jumping into Photoshop and just doing a standard scale the image looks nicer (goes a bit softer). I don't expect you to be as good a PS, but if the Java tools allow you any adjustment in that area it would really help.
None the less, great tool!
-David
- trevor
- Codeum Arcanum (RPTools Founder)
- Posts: 11311
- Joined: Mon Jan 09, 2006 4:16 pm
- Location: Austin, Tx
- Contact:
The unfortunate part is that Java's image support is the bottleneck. I just make an API call, and it does the work. And the algorithm is not as sophisticated as PS'sAnonymous wrote: Jumping into Photoshop and just doing a standard scale the image looks nicer (goes a bit softer). I don't expect you to be as good a PS, but if the Java tools allow you any adjustment in that area it would really help.
However, I'm always looking for ways to improve the tool, and if that means working around the limitations of java, that's certainly a possibility. Could you be more specific about which part of the image is blocky ? Are you talkin g about the outside edge, the background image, the edge between the overlay and the image ?
Dreaming of a 1.3 release
Can I send you a small .zip with two tokens to look at?
At the 128 size the AA is ok, but at 64 the AA is very rough. The outside edge of token I can live with (though at 64 it is pretty rough), but its the background image that is not too good at that size.
I have an image done in TokenTool and one resized in PS as comparision. I used B/W image as it is quite noticable there as there is no color data to fool the eye.
-David
At the 128 size the AA is ok, but at 64 the AA is very rough. The outside edge of token I can live with (though at 64 it is pretty rough), but its the background image that is not too good at that size.
I have an image done in TokenTool and one resized in PS as comparision. I used B/W image as it is quite noticable there as there is no color data to fool the eye.
-David