/    Sign up×
Community /Pin to ProfileBookmark

Java Space Invaders problem

I need a bit of help.
If you check this link out
[url]http://artstream.ucsc.edu/film20c/Spring2003/Lectures/24.04.2003/SpaceInvaders/[/url]
and click on the file [url]http://artstream.ucsc.edu/film20c/Spring2003/Lectures/24.04.2003/SpaceInvaders/javainvaders.html[/url]
you can play Space Invaders online.
But, when you download the whole directory to your hard drive, and click the HTML file it fails to load (says “Security exception blah blah”) & keep getting “Security exception” and “java.io.IOException: bad path C:Windows…..
A friend has downloaded the files and plays no problem on his hard drive
Any ideas why this is?

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliDec 30.2003 — can you post the complete error like instead of security exception blah blah..post the whole phrase
Copy linkTweet thisAlerts:
@unregisteredauthorDec 30.2003 — Thanks for replying!

The message that comes up is-

exception:com.ms.security. SecurityExceptionExMidway8080.loadsample):java.io.IOException:bad path:C..... (I cannot read beyond this as its blocked by part of the Internet Explorer frame at the bottom)

I think Midway 8080 is the manufacturer/name of the chipset that Space Invaders used in 1978 (and there is a file called Midway8080.class in the directory)
Copy linkTweet thisAlerts:
@oleragDec 30.2003 — And probably a method called "loadsample" in this class.

Your problem could be many things associated with Java

(not Javascript) and concerns attempting to download a

free, specialty applet from UC Santa Cruz's Dept of

Film and Digital Media.

For installation requirements and detailed operating

instructions, you should contact the individuals responsible

for deploying this game.

It looks like what you linked up to is a ftp site at this

University where students copy/paste there classroom

work/activity. If this is the case, I hope your in a A/B

student's path.
Copy linkTweet thisAlerts:
@unregisteredauthorDec 30.2003 — It seems that this java version is widely available, and each time the exact same files are assembled in one directory.

Eg- http://www.pagine70.com/hobby/2/

has the same set up.

How come I can load & play online but not from a directory on my C drive?

It just doesn't make any sense
Copy linkTweet thisAlerts:
@Khalid_AliDec 30.2003 — [i]Originally posted by unregistered [/i]

[B]

How come I can load & play online but not from a directory on my C drive?

It just doesn't make any sense [/B]
[/QUOTE]


Possibility could be that the program is accessing some resources from another webserver,which can cause an applet to throw a security breach error.

Don't they have instructions to install/redistribute this app?
×

Success!

Help @unregistered spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...