RPTools.net
http://forums.rptools.net/

Trouble with windows 7
http://forums.rptools.net/viewtopic.php?f=4&t=18154
Page 1 of 1

Author:  Pettertombos [ Sun Mar 06, 2011 9:28 am ]
Post subject:  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?

Author:  Phergus [ Sun Mar 06, 2011 1:14 pm ]
Post subject:  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.

Author:  Pettertombos [ Mon Mar 07, 2011 3:20 am ]
Post subject:  Re: Trouble with windows 7

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

Author:  Azhrei [ Mon Mar 07, 2011 1:04 pm ]
Post subject:  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.

Author:  Phergus [ Mon Mar 07, 2011 8:00 pm ]
Post subject:  Re: Trouble with windows 7

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.

Author:  daytripper [ Thu Jun 23, 2011 4:01 am ]
Post subject:  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.

Author:  wolph42 [ Fri Jun 24, 2011 2:21 am ]
Post subject:  Re: Trouble with windows 7

open up a cmd prompt, and run the .jar file from there.
start-->in search box type:
Quote:
cmd

goto the install directory (use
Quote:
dir
and
Quote:
cd <dir name>
to get there)
when your in the directory type:
Quote:
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.

Author:  daytripper [ Sun Jun 26, 2011 9:26 am ]
Post subject:  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.

Author:  daytripper [ Fri Jan 06, 2012 9:16 am ]
Post subject:  Re: Trouble with windows 7

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

Author:  jfrazierjr [ Fri Jan 06, 2012 10:55 am ]
Post subject:  Re: Trouble with windows 7

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:
cd "C:\Program Files\MapTools\Tokentool"
java -jar tokentool-1.0.b28.jar

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/