English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Actually I have created a Java program (with jdk 1.3) and coverted it into a *.exe file using JSmoothGen. What it does is that it creates an exe file which looks out for *.class file and executes the program. Now I want to run this exe file through a website interface i.e. as soon as the user clicks on the file it searches for the file on the web and then updates the files on the website. But the problem is that when I posted it on web and accessed it via net, it get downloaded in the temp folder and searches for file there and not the web....... Please help....... I am new to Java programming

2006-07-18 03:10:24 · 7 answers · asked by Sam 1 in Computers & Internet Programming & Design

7 answers

While it is true that you cannot use an exe from the web, it was a good idea.

You do not have to go an make an applet if you do not want to, you can use java's webstart technology.

"Using Java Web Start technology, standalone Java software applications can be deployed with a single click over the network. Java Web Start ensures the most current version of the application will be deployed, as well as the correct version of the Java Runtime Environment (JRE). » Read More "[1]

As far as I remember, you only need to create a JAR (Java ARchive) file and let the webstart take control of it. I am not usre if you will have to upgrade from 1.3 to 1.5 or not, as if you are using any collections in 1.3 they are incompatible in 1.5, among other things.

2006-07-20 11:43:20 · answer #1 · answered by Mark aka jack573 7 · 0 0

To use all java functionalities through the web you need to use java applets. Java applets differ from java applications in the fact that they do not have a main method and are not executable. They run through a browser and should be embedded in an HTML or PHP file.

If you want an easy editor I suggest you download BlueJ.

2006-07-19 05:19:18 · answer #2 · answered by TasnimOfKuwait 2 · 0 0

considering your first question became into already spoke back, i'm going to in straightforward terms answer the final one (even nonetheless I choose utilizing an IDE for transforming into java classes, like EasyEclipse or BlueJ). the recent java variations are no longer in straightforward terms as quickly as a 365 days, there are minor updates (the subsequent one could be 6 replace 13, which quite often incorporate computer virus fixing or making some applications easier to apply / much less source utilizing) and there are better updates, which quite often incorporate new applications (the subsequent one could be 7 replace 0, or basically 7).

2016-10-08 01:28:08 · answer #3 · answered by lashbrook 4 · 0 0

You can't run .exe files directly from a web page. What you need to create is a java applett. This can be placed into a web page and run within the browser.

2006-07-18 03:15:22 · answer #4 · answered by Bors 4 · 0 0

either you can use applets instead of exe's..
or if you have no other go then your webserver must include the interpreter for the corresponding .exe file and you must configure your webserver to interpret those kind of files and the output from the exe must be in the form of a html document,and input must also be passed to your java program by any CGI scriipting..and also use someother extension instead of EXE's..you must handle this many issues,

2006-07-18 03:29:21 · answer #5 · answered by santha s 2 · 0 0

use applet on your web page.
Look for html code for an applet.

2006-07-18 03:16:11 · answer #6 · answered by iyiogrenci 6 · 0 0

use applet servlet comminication

2006-07-21 17:50:50 · answer #7 · answered by ihoston 3 · 0 0

fedest.com, questions and answers