Trouble with windows 7

Thoughts, Help, Feature Requests

Moderators: dorpond, trevor, Azhrei

Post Reply
Pettertombos
Kobold
Posts: 3
Joined: Sun Mar 06, 2011 9:22 am

Trouble with windows 7

Post by Pettertombos »

Hello

I'm having trouble with tokentool on windows 7 (I'm using windows 7 starter on a new dell netbook).

Downloaded tokentool along with the newest java.
Reinstalled java.
Restarted the PC alot of times in the process.

Any chance of having it working?

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: Trouble with windows 7

Post by Phergus »

Works 100% for me on Win7.

You haven't said what you are trying or what you see when you try it.

Pettertombos
Kobold
Posts: 3
Joined: Sun Mar 06, 2011 9:22 am

Re: Trouble with windows 7

Post by Pettertombos »

I'm just trying to open it! doubleklicking the file, nothing happends! At all

User avatar
Azhrei
Site Admin
Posts: 12086
Joined: Mon Jun 12, 2006 1:20 pm
Location: Tampa, FL

Re: Trouble with windows 7

Post by Azhrei »

Sounds like your Java install is broken; it probably didn't update the PATH correctly.

Search the forum for Phergus' post regarding how to fix this.

Phergus
Deity
Posts: 7132
Joined: Fri May 12, 2006 8:56 pm
Location: Middle of Nowhere, NM
Contact:

Re: Trouble with windows 7

Post by Phergus »

Pettertombos wrote:I'm just trying to open it! doubleklicking the file, nothing happends! At all
Open what? There isn't a file called "it" in the TokenTool zip distribution.

After you download the TokenTool zip file and extract it you should have one .jar file and a folder called lib. You don't care about lib except that it is there and has files in it.

The .jar file should be called tokentool-1.0.b28.jar and should display a little icon of the Sun/Oracle Java logo.

Image

If it doesn't your Java install is bad. Uninstall all versions of Java. Reboot. Then reinstall the 32-bit version of Java. Try again.

daytripper
Kobold
Posts: 3
Joined: Thu Jun 23, 2011 4:57 am

Re: Trouble with windows 7

Post by daytripper »

I'm having a similar problem. Files have extracted as Phergus describes, I double click the sun/java icon, I see a flash of script appear (way too quick to see what it is) then nothing. I've reinstalled java twice now but still nothing... any ideas. Maptool works fine.

User avatar
wolph42
Winter Wolph
Posts: 9999
Joined: Fri Mar 20, 2009 5:40 am
Location: Netherlands
Contact:

Re: Trouble with windows 7

Post by wolph42 »

open up a cmd prompt, and run the .jar file from there.
start-->in search box type:
cmd
goto the install directory (use
dir
and
cd <dir name>
to get there)
when your in the directory type:
tokentool-1.0.b28.jar
this time you'll see what is says. post the error message here.

edit: if you want to use copy paste, e.g. cd <paste the whole directory path> you can do that in the command prompt with a right mouse click and then click paste.

daytripper
Kobold
Posts: 3
Joined: Thu Jun 23, 2011 4:57 am

Re: Trouble with windows 7

Post by daytripper »

Thanks to wolph42 for the techtips. This is my error message:

c:\Program Files\Maptools\Tokentool>tokentool-1.0.b28.jar
Exception in thread "main" java.lang.NoClassDefFoundError: C:\Program Files\Mapt
ools\Tokentool\tokentool-1/0/b28/jar
Caused by: java.lang.ClassNotFoundException: C:\Program Files\Maptools\Tokentool
\tokentool-1.0.b28.jar
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)
Could not find the main class: C:\Program Files\Maptools\Tokentool\tokentool-1.0
.b28.jar. Program will exit.

daytripper
Kobold
Posts: 3
Joined: Thu Jun 23, 2011 4:57 am

Re: Trouble with windows 7

Post by daytripper »

So, anyone with any ideas on this one (see above)?

User avatar
jfrazierjr
Deity
Posts: 5176
Joined: Tue Sep 11, 2007 7:31 pm

Re: Trouble with windows 7

Post by jfrazierjr »

daytripper wrote:Thanks to wolph42 for the techtips. This is my error message:

c:\Program Files\Maptools\Tokentool>tokentool-1.0.b28.jar
Exception in thread "main" java.lang.NoClassDefFoundError: C:\Program Files\Mapt
ools\Tokentool\tokentool-1/0/b28/jar
Caused by: java.lang.ClassNotFoundException: C:\Program Files\Maptools\Tokentool
\tokentool-1.0.b28.jar
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)
Could not find the main class: C:\Program Files\Maptools\Tokentool\tokentool-1.0
.b28.jar. Program will exit.
Well... given that it appears you are starting this from a command line, you did it wrong. You can't directly start a java program from the command line like that when it resides in a jar file. You MUST call it with the jave executable name, followed by -jar (to tell the java executable that you are starting from a jar file), followed by the jar file name, so, starting from a bar command prompt:

Code: Select all

cd "C:\Program Files\MapTools\Tokentool"
java -jar tokentool-1.0.b28.jar
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.

Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..

Post Reply

Return to “TokenTool”