By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,516 Members | 1,168 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,516 IT Pros & Developers. It's quick & easy.

How to run java program from javascript

P: 5
Hi all,

Can anyone help me by letting me know how do we run a java program from Javascript?? .
Thanks in advance.

madan
Oct 9 '06 #1
Share this Question
Share on Google+
8 Replies


10K+
P: 13,264
Hi all,

Can anyone help me by letting me know how do we run a java program from Javascript?? .
Thanks in advance.
madan
you realise of course that java code has to be compiled before it is run?
Oct 9 '06 #2

P: 5
you realise of course that java code has to be compiled before it is run?
Thanxs for the response.. But i mean Class file. How to run a class file from javascript
Oct 9 '06 #3

10K+
P: 13,264
Thanxs for the response.. But i mean Class file. How to run a class file from javascript
As an applet?
Oct 9 '06 #4

P: 5
As an applet?
Yes.. I need to execute an swing component from javascript..
Oct 9 '06 #5

10K+
P: 13,264
Yes.. I need to execute an swing component from javascript..
Perhaps you can use document.write to write html tags to a document and write the applet tag to the document
Oct 9 '06 #6

P: 5
Perhaps you can use document.write to write html tags to a document and write the applet tag to the document

Thanq for the response. Can you send a small example regarding this please.
Oct 9 '06 #7

10K+
P: 13,264
Thanq for the response. Can you send a small example regarding this please.
http://www.mapguide.com/help/R6.3/api/en/codeSamples/samples.htm

http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html

Consider all browsers
Oct 9 '06 #8

P: 5
http://www.mapguide.com/help/R6.3/api/en/codeSamples/samples.htm

http://java.sun.com/j2se/1.5.0/docs/guide/plugin/developer_guide/using_tags.html

Consider all browsers
Thanq very much for the resource help.. I am having a problem in setting the classpath when trying to use document.write()..
I am using "Windows Look and Feel" for which i need to set the classpath before i execute the class file. How should i set the classpath in this context when trying to execute in document.write() statement in Javascript?
Please Help!!
Oct 10 '06 #9

Post your reply

Sign in to post your reply or Sign up for a free account.