Link to home
Start Free TrialLog in
Avatar of jwhitaker3
jwhitaker3

asked on

applets in a package

I have to put my html files inside a package for example if I had a package called "edu.unt.homework1.java" which is in the root directory "C:\java\homework1" when I double click on the html file it will work fine but when I try to run it from the command line it does not work.  In my html file I have the codebase = "C:\java\homework1\"
and my code = "edu.unt.homework1.java.Question1".  On the command line this is what I see
"C:\java\homework1>appletviewer edu\unt\homework1\java\question2.html".  It does not work when I run this command, any ideas of what else I need to do to run this command?
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of warsql
warsql

Also, it's not a good idea to put codebase="C:\whatever".  Use a relative path from your html like codebase="." with CEHJ's good suggestion.
jwhitaker3:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept CEHJ's comment as answer

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jimmack
EE Cleanup Volunteer