FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Run Custom Script on my Website





cybersa
I want to run a jar file on website with arguments.
Is it possible?

It is complied jar file.
In windows,it can be run on cmd.
by typing <name>.jar filename

I want to run this on my website when user click on the button.
Is it possible?
Bondings
You can't run a java program (jar file) on the server.

However, you can run it on the client/browser as a java applet. Please note that a lot of people do not have a java plugin for their browser (including for security reasons).

http://en.wikipedia.org/wiki/Java_applet
rx9876
Bondings wrote:
You can't run a java program (jar file) on the server.

However, you can run it on the client/browser as a java applet. Please note that a lot of people do not have a java plugin for their browser (including for security reasons).

http://en.wikipedia.org/wiki/Java_applet


Indeed.
In 2012, java has some high risk security issues.
Everyone using java6 or java 7 should update to jdk/jre 7u7 to avoid hack attacks.

http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html

These vulnerabilities may be remotely exploitable without authentication, i.e., they may be exploited over a network without the need for a username and password. To be successfully exploited, an unsuspecting user running an affected release in a browser will need to visit a malicious web page that leverages this vulnerability. Successful exploits can impact the availability, integrity, and confidentiality of the user's system.

In addition, this Security Alert includes a security-in-depth fix in the AWT subcomponent of the Java Runtime Environment.
cybersa
Thanks for your help and information.

@rx9876
Updated to JDK 7u7.
Thanks Wink
Related topics
A script for Loading
Creating an RPG bot in IRC (yes I wrote this)
Game Maker
Script Frihost uses
Webmaster Forum Contest! $40 Value Script Up For Grabs!
FriH points and FRIH$
"Forms To Go" create scripts in PHP, ASP and Perl
Java tutorials
Fedora 5 Freez
Need A Custom Script Developed !!! Payin Good !!!!
[Solved] Custom script gives only an error in IE
How will run question answer website?
[SOLVED] Page loads on File Manager but not actual website
Can i run Chinese website on this hosting?
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.