Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Andrzejek on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making a simple java into something run by browser

Status
Not open for further replies.

iluvperl

Programmer
Jan 22, 2006
107
New to Java..well.. yesterday.

Quick question. How do I get a simple Hello World script.class/script.java to be executed in the browser?

I want to play around with it outside of the CMD/DOS console.
 
I am not sure what you are looking for, probably this should help you.

I feebly remember a class called Runtime in java, which can be used to execute a command, where in you may execute the following command "<PATH_TO_IE.EXE>\IExplorer and it should open the IE window.


Cheer Up, The worst is yet to Come.
 
You can only run a Java application in a browser if it is an Applet.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top