If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

How to save Java applet game to PC?

Hi, I'm trying to figure out how to save this java applet game into my PC so I could play it even I'm not online and play it anywhere and anytime. This is the site which has the game: http://hi-games.net/cube-10x10x10/. I've tried website grabbers but no luck. I wish someone could help me. T.Y.

I've tried different links like http://hi-games.net/cube-10x10x10/HiCube.class but I can't really find the HiCube.class. Maybe it's in the jar file itself or maybe someone knows how to open a jar file and look for the class file link?

The class file probably is in the jar file. You can look in a jar file with the WinZip program.
Have you tried to execute the applet? If you get errors look in the java console for the message. Copy and paste it here for help.

There it is! I found the class file in WinRar as you said. But have some problem when executing the applet. Here is what I did, I copied the jar/class and html file with the code (see above) in a folder. When I opened it in firefox the game didn't showed up, I only see a box with a little x on it. Here is what the java console says:

java.io.FileNotFoundException: C:\Documents and Settings\xxxxxxxxxxxxxxx\Desktop\Cube\init.cgi (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.http://www.protocol.file.FileURLConn...onnect(Unknown Source)
at sun.net.http://www.protocol.file.FileURLConn...Stream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at HiGame.init(Unknown Source)
at HiKeyGame.init(Unknown Source)
at HiCube.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: java.io.FileNotFoundException: C:\Documents and Settings\xxxxxxxxxxxxxxx\Desktop\Cube\init.cgi (The system cannot find the file specified)
at HiGame.init(Unknown Source)
at HiKeyGame.init(Unknown Source)
at HiCube.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.io.FileNotFoundException: C:\Documents and Settings\xxxxxxxxxxxxxxx\Desktop\Cube\init.cgi (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.http://www.protocol.file.FileURLConn...onnect(Unknown Source)
at sun.net.http://www.protocol.file.FileURLConn...Stream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at HiGame.init(Unknown Source)
at HiKeyGame.init(Unknown Source)
at HiCube.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: java.io.FileNotFoundException: C:\Documents and Settings\xxxxxxxxxxxxxxx\Desktop\Cube\init.cgi (The system cannot find the file specified)
at HiGame.init(Unknown Source)
at HiKeyGame.init(Unknown Source)
at HiCube.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.io.FileNotFoundException: C:\Documents and Settings\xxxxxxxxxxxxxxx\Desktop\Cube\init.cgi (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.http://www.protocol.file.FileURLConn...onnect(Unknown Source)
at sun.net.http://www.protocol.file.FileURLConn...Stream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at HiGame.init(Unknown Source)
at HiKeyGame.init(Unknown Source)
at HiCube.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: java.io.FileNotFoundException: C:\Documents and Settings\xxxxxxxxxxxxxxx\Desktop\Cube\init.cgi (The system cannot find the file specified)
at HiGame.init(Unknown Source)
at HiKeyGame.init(Unknown Source)
at HiCube.init(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.io.FileNotFoundException: C:\Documents and Settings\xxxxxxxxxxxxxxx\Desktop\Cube\init.cgi (The system cannot find the file specified)
Looks like the program needs a file: init.cgi
Go back to the site and URL you used to get the .jar file and get this file and save it in the same folder with the .jar file.

Norm, what can I say, you've been very helpful to me. I tried to figure this out for ages and ages until I end up here in devx.com with a very helpful people. And now it works like a charm. Thank you very much Norm! and devx.com!

You need to ask the programmer that wrote the program.
The values/usages of <PARAM tags are only known by the person that wrote the program.

Hi thanks again for the reply.

I'm now 95% sure that the value "1118" is in here http://hi-games.net/cube-10x10x10/rec.cgi?u=1118 it's a rec.cgi where the sequences are, it's the movements/turns you see in the replay. But the only problem is that I don't know how to coordinate the rec.cgi file to the value "1118". And if I rename the rec.cgi to 1118.cgi it still doesn't work. Any Idea?

I tried to ask the owner but he wouldn't allow it. He said it's a violation of copyrights law. My only motive is for personal use and not to use it for profit. Obviously I'm no programmer, most of you here are programmers and webmasters maybe you know how to deal with this kind of problem?