Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

running a .jar file

Posted on 2015-01-21
4
Medium Priority
?
113 Views
Last Modified: 2016-02-17
Hi,

I have a windows 7 computer, I want when the user logs into windows, and the computer boots properly, my .jar program opens and run automatically without the user navigating to the program.
0
Comment
Question by:gmollineau
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
frankhelk earned 1500 total points
ID: 40562193
Presuming your firewall etc. alows opening java programs w/o nagging, and java ist installed properly ...

It should be enough to just create a shortcut to the program into the autostart folder.

Open explorer, right-drag the program on START and holt until it opens, drag to all programs until it opens, drag to Autostart (or startup ?) and drop. When Windows asks what to do, click on "Create shortcut".
0
 
LVL 17

Expert Comment

by:lruiz52
ID: 40562198
You need to install the Java Standard Edition on your systems to run Jar Files.

http://www.oracle.com/technetwork/java/javase/overview/index.html
0
 
LVL 14

Expert Comment

by:frankhelk
ID: 40562206
@lruiz52: Oops ... that's what I meant with "and java ist installed properly ...".
0
 
LVL 6

Expert Comment

by:BoyBlueSky
ID: 41468625
JAR_Runner locates the current Java installation, calls the appropriate application (JavaW.exe), & directs it to run the JAR file. It's not anything that couldn't be done manually, but it is nice to not have an app do it for you.  It integrates right into the Windows system & also has a CMD/DOS command line option.

From the project's site:
http://projects.killerapplets.com/JAR_Runner/
Options:
1) Click-and-drag JAR file onto the JAR_Runner EXEcutable or shortcut
2) Right-click JAR file, select "Open with", navigate to JAR_Runner EXEcutable
 (Of course, one can make this the default for JAR files from now on)
3) Command line syntax: JAR_RUNNER [drive:][path]filename

So, you could either run it through a command line call, or you could create a shortcut pointing the JAR_Runner.exe to your JAR file; and you could place that in your StartUp folder.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question