View Single Post
Can't get this to work
Posts: n/a
Unhappy Can't get this to work - 04-08-2010, 02:04 PM

Originally Posted by gabe View Post
OK. Dennis is ahead of us, as usual. This functionality is built into Alice. Here's how to run your world without having to start up Alice:

1. Download the attached zip file
2. Extract "player.bat" into the "required" directory of Alice
3. Double-click player.bat. An open world dialog box will appear
4. Navigate to your world and select it

Please let me know if this works/doesn't work for you.
I can't get this to work on my school issued PC. I have administrative rights, but I didn't set everything up on this computer, so sometimes I have weird issues. When I double click the .bat file a dos window appears for half a second with some text then disappears.

I ran it from an already open cmd window and got this output (paths are shortened for readability):

\Alice 2.2\Required>player.bat

\Alice 2.2\Required>PATH=.\jre1.3.1_10_win32\bin;.\jre1.3 .1_10_win32\bin\hotspot

\Alice 2.2\Required>java -hotspot -Xincgc -Xmx512m -XX:+ForceTimeHighResolution -classpath lib/alice.jar;externalLib\jython.jar;optionalPackagesL ib\customizer.jar;optionalPackagesLib\jmf.jar;opti onalPackagesLib\mediaplayer.jar;optionalPackagesLi b\multiplayer.jar;optionalPackagesLib\sound.jar;op tionalPackagesLib\resolver.jar;optionalPackagesLib \xercesImpl.jar;optionalPackagesLib\xml-apis.jar;optionalPackagesLib\xmlParserAPIs.jar;opt ionalPackagesLib\vecmath.jar -Dpython.home=jython-
2.1 -Djava.library.path=lib/win32;externalLib/win32;optionalPackagesLib/win32 edu.cmu.cs.stage3.alice.player.DefaultPlayer
'java' is not recognized as an internal or external command,
operable program or batch file.

\Alice 2.2\Required>
Reply With Quote