Searching for an expert using 4.22
»Compile issue in 4.22 |
| carolinaadi
|
I am trying to compile my files in my source folder. I have done so in the past for a software script I use with my athletes and it worked fantastic as I was also able to change all of the words from 'ebook' to 'software'. However, I am trying to do it again with a new script with no luck at all. Here is the issue: -I need to run the mail file which is a .jar file. I have tried to create an index.htm file but canot figure out how to use this to automatically run the .jar file. So the user will never actually see the index.htm file at all but it's purpose will be just to run the main file for the script. Is this possible? thanks for any help you can provide!
|
Posted on: 1:58 am on August 31, 2006
|
|
| Storyman
|
Hi Carol, The .jar file is for Java. Right? You might want to find a forum for Java programmers and ask them. When you figure out if it is possible and how to do it let the rest of us know.
|
Posted on: 5:59 am on August 31, 2006
|
|
| carolinaadi
|
Thanks for the reply. Basically do you mean ask a Java forum about an html script to automatically run a .jar file?
|
Posted on: 6:12 am on August 31, 2006
|
|
| Storyman
|
Yes. Program languages other than Java may use .jar files, but Java is the only one that I know of (not an expert on program languages here.) It would seem that you would want to test to verify that Java is installed--if it is Java you need.
|
Posted on: 6:36 am on August 31, 2006
|
|
| Alaska
|
If you have already used the applet successfully, you should be able to cut-n-paste the calling script into your new page, something like: <applet code=NameOfApplet.class name=NameOfApplet archive=NameOfApplet.jar width=300 height=300> <param name="bgcolor" value="ffffff"> <param name="fontcolor" value="000000"> Your browser is not Java enabled. </applet> Of course, the .jar file needs to be present in the current directory as well. Perhaps this JavaBoutique article can help; http://javaboutique.internet.com/tutorials/Thread0/add_java.html
|
Posted on: 4:23 pm on August 31, 2006
|
|
| Storyman
|
Roger, Do you have any idea the percentage of Window machines that have Java installed and enabled? I hesitate using something that requires the user to fetch a plugin or additional program.
|
Posted on: 4:44 pm on August 31, 2006
|
|
| Alaska
|
Unfortunately, I don't get that statistic from my web report (I gotta change site monitors) so I found c-net.us:http://accessat.c-net.us/articles/stats.html they report a known 84 percent of browsers are Java enabled. Who am I to argue?
|
Posted on: 4:40 am on September 1, 2006
|
|
| Storyman
|
Thanks for the link. The stats mentioned came from thecounter.com, which gives no indication of how or where the figures were developed. I wish the stats were close to reality.
|
Posted on: 6:59 am on September 1, 2006
|
|