473,320 Members | 1,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How to run java program from javascript

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
8 10618
r035198x
13,262 8TB
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
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
r035198x
13,262 8TB
Thanxs for the response.. But i mean Class file. How to run a class file from javascript
As an applet?
Oct 9 '06 #4
As an applet?
Yes.. I need to execute an swing component from javascript..
Oct 9 '06 #5
r035198x
13,262 8TB
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
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
r035198x
13,262 8TB
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
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

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

Similar topics

11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
2
by: JohnK | last post by:
Hi all, This is my first time visiting this group. I already tried two other java groups, but those aren't very populated. I don't know if it is the right one, otherwise please tell me in which...
18
by: Mickey Segal | last post by:
On comp.lang.java.programmer we are discussing problems created for Java programs by pop-up blockers (in the thread "showDocument blocked by new microsoft pop-up blocker"). Our problem is that...
3
by: john woo | last post by:
Hi in JSP, it's easy to pass value from java-variable to javascript-variable, like js_function(a) { a=<%java-class.A%> } I'm wondering how is the other way around? I tried
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
458
by: wellstone9912 | last post by:
Java programmers seem to always be whining about how confusing and overly complex C++ appears to them. I would like to introduce an explanation for this. Is it possible that Java programmers...
5
by: Ankur | last post by:
Hi Folks, I am new for this group. I want to clarify one thing what's a basic difference between Client Side Java Script and Server Side Java Script. how we can differentiate it. Why we called...
3
by: Peter Webb | last post by:
I need to make a reasonably big decision, and I need some advice. I have used C# to make some pretty nice and potentially very educational toys/animation. One does n body orbit simulations,...
6
by: moongeegee | last post by:
I have compile my java program as myjava.class. And I can run as "java myjava" without any program. As now, I need to execute myjava.class in javascript. Please shed a light how to execut "java...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.