Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8931479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:07:23+00:00 2026-06-15T09:07:23+00:00

So my friend keeps making requests about this plugin I am writing for Bukkit

  • 0

So my friend keeps making requests about this plugin I am writing for Bukkit and, like the decent person I am, I accept them. Unfortunately I am not that great of a programmer. I am making a help page for this plugin – A local file that comes with the plugin – and I need to know how I can run the .jar file of the plugin. I have the main class all ready, and they way I plan to do it is have something like this as part of the <head></head> tags.

<script> <!--
if(confirm("Would you like to run the plugin to set up first? (Click cancel if you do not)")) {
    //Something to run the plugin .jar file
}
//-->
</script>

Would this work? If I need to make any modifications, just let me know. I think I may only be able to call functions, in which case I will just call main().
NOTE: This works as-is, I just have it make another popup instead of running the .jar file. NOTE: Both the webpage and the jarfile are already downloaded onto the user’s computer, I just need to be able to run it.
NOTE: This webpage is literally an HTML file that is downloaded to their computer when they download the plugin, and I want it to run my plugin because that it an automated setup function. The website is NOT hosted on a server. I feel like I REALLY need to clarify that.

Looked through the code and decided that a link would be easiest and best for my purposes – Thanks for all the help! (By the way, it turned out that I would have the .jar file unpack the help document into the folder. Oh well :P)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:07:24+00:00Added an answer on June 15, 2026 at 9:07 am

    Another thing you can look into is the Java Web Start framework:
    http://en.wikipedia.org/wiki/Java_Web_Start

    This allows users to launch an arbitrary jar file directly from their browsers and optionally install it on their machines. So, if all you are looking for is a way to deploy your Java program via a website, this might be the best solution.

    In this scenario, the Java code would not run “inside” the browser (well, inside the JVM, but tied to the browser), like an applet would, but instead it would run as a standard separate process as if you had launched the jar file from your computer’s hard-disk.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A friend show me this sample code to implement HTTP POST in C# and
A friend of mine is making a trivia game in C++, and I am
My friend done this below coding for custom control <a href=javascript:__doPostBack('id','msg');>click</a> now i want
A friend asked me a question today about an assignment problem. I found a
I am teaching my friend how to make websites. I would like to keep
A friend of mine brought up this questiont he other day, he's recently bought
I am making a website for my friends band. I would like to know
A friend of mine is about to release an application and asked me to
I asked this question already but my friend said to take a different approach.
I have this code function check(){ $.get(friend.php, { id: friendid }, function(data){ //Do stuff

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.