Could not find the main class. Program will exit

Thoughts, Help, Feature Requests

Moderators: dorpond, trevor, Azhrei

Post Reply
Guest

Could not find the main class. Program will exit

Post by Guest »

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

User avatar
brisingre
Dragon
Posts: 382
Joined: Tue Jan 31, 2006 8:24 pm

Post by brisingre »

try the web start, rather than the zip archive. this worked for me, anyway.
Chaotic Neutral means never having to say you're sorry.

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

I'll take a look. The build gets broken every once in a while.
Dreaming of a 1.3 release

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

I downloaded TokenTool 1.0M5 unzipped it, double clicked on the jar file in the top directory, and it came up.

I'm assuming you are using the zip version ? What is the filename of the zip (so I know which version of the tool you are using) ?
Dreaming of a 1.3 release

Guest

Post by Guest »

I used the zip tokentool-1.0M2.zip which contained tokentool-1.0M2.b4.jar.

Both my systems are WinXP Pro with Java 1.5

Guest

Post by Guest »

I just re downloaded tokentool-1.0M5.zip and this version loads ok. Thanks.

Guest

Post by Guest »

fantastic! What a beautiful time saver you have created. Seems to work great with Gametable Beta.

Thank you!

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

Super cool !
Dreaming of a 1.3 release

Guest

Post by Guest »

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

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

Anonymous 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.
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's :)

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

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

As a side note, the rewite took place about two weeks ago. You should have seen it before it's current version, whew it was pretty bad :)

But as I said, I love to improve on the tools, so fire away your suggestions and feature requests !
Dreaming of a 1.3 release

User avatar
drswoboda
Dragon
Posts: 313
Joined: Tue Apr 25, 2006 12:54 pm
Location: Milwaukee, WI

Post by drswoboda »

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

User avatar
trevor
Codeum Arcanum (RPTools Founder)
Posts: 11311
Joined: Mon Jan 09, 2006 4:16 pm
Location: Austin, Tx
Contact:

Post by trevor »

Yes, please do, you can email it to [email protected]

I'll take a look and see what I can do.
Dreaming of a 1.3 release

Post Reply

Return to “TokenTool”