Trouble with windows 7
Moderators: dorpond, trevor, Azhrei
-
- Kobold
- Posts: 3
- Joined: Sun Mar 06, 2011 9:22 am
Trouble with windows 7
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?
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?
Re: Trouble with windows 7
Works 100% for me on Win7.
You haven't said what you are trying or what you see when you try it.
You haven't said what you are trying or what you see when you try it.
-
- Kobold
- Posts: 3
- Joined: Sun Mar 06, 2011 9:22 am
Re: Trouble with windows 7
I'm just trying to open it! doubleklicking the file, nothing happends! At all
Re: Trouble with windows 7
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.
Search the forum for Phergus' post regarding how to fix this.
Re: Trouble with windows 7
Open what? There isn't a file called "it" in the TokenTool zip distribution.Pettertombos wrote:I'm just trying to open it! doubleklicking the file, nothing happends! At all
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.
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.
-
- Kobold
- Posts: 3
- Joined: Thu Jun 23, 2011 4:57 am
Re: Trouble with windows 7
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.
Re: Trouble with windows 7
open up a cmd prompt, and run the .jar file from there.
start-->in search box type:
when your in the directory type:
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.
start-->in search box type:
goto the install directory (usecmd
anddir
to get there)cd <dir name>
when your in the directory type:
this time you'll see what is says. post the error message here.tokentool-1.0.b28.jar
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.
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
-
- Kobold
- Posts: 3
- Joined: Thu Jun 23, 2011 4:57 am
Re: Trouble with windows 7
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.
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.
-
- Kobold
- Posts: 3
- Joined: Thu Jun 23, 2011 4:57 am
Re: Trouble with windows 7
So, anyone with any ideas on this one (see above)?
- jfrazierjr
- Deity
- Posts: 5176
- Joined: Tue Sep 11, 2007 7:31 pm
Re: Trouble with windows 7
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: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.
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..
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..