Windows 7 x64 Ultimate
Ver 6.1.7601
Updated as of last month
Java:
java version “1.6.0_21”
Java™ SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot™ 64-Bit Server VM (build 17.0-b17, mixed mode)
Java is working for other programs however a reinstall was made to ensure it was installed correctly.
Followed thread viewtopic.php?f=3&t=3876&start=15
Java has open access through firewall; loopback is working correctly.
javaw -client -cp Vengine.jar VASSAL.launch.ModuleManager from .\vassal\lib has same behaviour as running vassal.exe.
No results from thread.
When vassal.exe is run java starts briefly & closes. No vassal screens show & no new windows are created.
As far as I can tell NO files or folders are modified or made.
Vassal directory that’s supposed to be in user directory does not exist.
A search of the entire hard drive brings back no other folders or files named vassal out side of .\vassal\
java.exe -client -cp Vengine.jar VASSAL.launch.ModuleManager
VASSAL: IO error
java.io.FileNotFoundException: C:\DOCUME~1\ADMINI~1\VASSAL\key (The system cannot find the path specified)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(Unknown Source)
at VASSAL.launch.ModuleManager.main(ModuleManager.java:131)
java.exe -client -cp Vengine.jar VASSAL.launch.ModuleManager
VASSAL: IO error
java.io.FileNotFoundException: C:\DOCUME~1\ADMINI~1\VASSAL\key (The
system cannot find the path specified)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.(Unknown Source)
at VASSAL.launch.ModuleManager.main(ModuleManager.java:131)
The problem is that the Module Manager doesn’t have permission to write
a file in the place where it was expecting to.
Did you install VASSAL under an admin account? Are you trying to run it
as a regular user now? If so, that’s the problem.
This account is an “administrator” for Windows 7; however when the java command is run from an elevated command prompt the same error occurs.
When vassal.exe is run “as administrator” (right click) or in windows xp compatibility mode the behaviour is the same.
This account is an “administrator” for Windows 7; however when the java
command is run from an elevated command prompt the same error occurs.
When vassal.exe is run “as administrator” (right click) or in windows xp
compatibility mode the behaviour is the same.
We determined that Java isn’t getting the right value for the user.home
property here. A temporary solution is to specify it on the command line
with
-Duser.home=/path/to/home/dir
A permanent fix will require us to write a workaround.
I too need some more information. I followed along with the original post and everything worked exactly the same way (or rather, it DIDN’T work, exactly the same way.)
If my program path is c:/program files/vassal/ what exactly do I have to type at the command prompt to make this workaround work?