|
-
Jun 22nd, 2006, 09:55 PM
#1
Thread Starter
Frenzied Member
Can a Java applet do this?
Can a java applet on a web page run on the user's machine and download files and launch on their computer? I'm just trying to find out what permissions a java applet can have.
I need the user to click on a web page and have an applet check to see if a program is on their computer and either download/update or just run it if it is there. I noticed gotomypc.com and glance.net uses java.
I know I could do this with an activex but these other places used java so I'm wondering if there is an advantage for it? Its only going to be on XP machines anyways but just want to see what java can do.
Thanks!
Warren
-
Jun 22nd, 2006, 10:35 PM
#2
Addicted Member
Re: Can a Java applet do this?
I would like to know this too.
-
Jun 22nd, 2006, 10:36 PM
#3
Thread Starter
Frenzied Member
Re: Can a Java applet do this?
I'm not a java programmer but after reading some web sites, what about:
RunTime.getRuntime.exec
Can this be used in a java applet to launch an exe?
-
Jun 23rd, 2006, 07:18 AM
#4
Re: Can a Java applet do this?
 Originally Posted by WarrenW
I'm not a java programmer but after reading some web sites, what about:
RunTime.getRuntime.exec
Can this be used in a java applet to launch an exe?
Yes, if signed with a valid class-1 certificate
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jun 23rd, 2006, 11:22 AM
#5
Thread Starter
Frenzied Member
Re: Can a Java applet do this?
Thanks for letting me know this. I do plan on having one signed. Just have to find someone I can pay to write the applet for me now.
Btw, will the user have to download any java runtime libs to run the applet first or will it all be smooth sailing to launch it as long as the browser has java applets enabled?
Thanks
-
Jun 23rd, 2006, 12:22 PM
#6
Re: Can a Java applet do this?
 Originally Posted by WarrenW
Thanks for letting me know this. I do plan on having one signed. Just have to find someone I can pay to write the applet for me now.
Btw, will the user have to download any java runtime libs to run the applet first or will it all be smooth sailing to launch it as long as the browser has java applets enabled?
Thanks
Even if you have Java enabled in your browser, you still have to install the JRE to run java on your machine, so basically you should provide a link like all other sites do
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Jun 23rd, 2006, 06:11 PM
#7
Frenzied Member
Re: Can a Java applet do this?
Like CJ said, you have to sign the applet, but the chances of somebody accepting a certificate from a probably "not well known site" is slim. (I know I don't). I find signing applets to be a pain the buttox.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|