What is the instruction to perform server and applet from the same batch file?
The server starts with instruction:
java-cp namearchive.jar package.of.class.NameClass
The applet executes it with instruction:
appletviewer Applet.java
started separately but do not work, is a problem of directory?
The project initiated by Eclipse works well, but from the batch file not.
Thank you.
applet and server
Moderator: DosItHelp
Re: applet and server
If you type the commands at a cmd prompt, does it work?
Re: applet and server
Does the JAVA_HOME system variable point to where java is installed ?foxidrive wrote:If you type the commands at a cmd prompt, does it work?
example:
Code: Select all
JAVA_HOME = C:\Program Files\Java\jdk1.6.0_04
Code: Select all
set
Re: applet and server
Ed Dyreen wrote:verify with:Code: Select all
JAVA_HOME = C:\Program Files\Java\jdk1.6.0_04
Code: Select all
set
I think there are some spaces there that should be removed, Ed.