/    Sign up×
Community /Pin to ProfileBookmark

Interaction between JavaScript + Java

Hello people

I am developing a Web site that embeds a Signed Java Applet and I need your help with the following issue

I need some way of knowing 2 things about the user who is visiting my site
1) Whether he has the Java Runtime Environment installed
2) Whether he already accepted my Signed Java Applet

If I know the answer to these 2 questions, I will be able to decide whether I need to instruct the user about any needed installation

For example, If I can determine that the user doesn’t have JRE installed (like most users), I could display him a message describing the installation process and what needs to be done (in order to help him)
If I determine that the user already has JRE installed, I know I can skip such explanation

Also, If I know that the user didn’t accept my Signed Java Applet, I will be able to instruct him about that

I need to know whether any of these 2 information bits can become available to me in any way. This could be done in JavaScript if possible, but any other solution is also welcome

Any help or lead will be appreciated
Thanks

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@JPnycJan 14.2006 — if(navigator.javaEnabled())
×

Success!

Help @jasongr spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...