Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Run .jar file


  • Please log in to reply

#1
TheBrotherhood313

TheBrotherhood313

    Member

  • Member
  • PipPipPip
  • 127 posts
Im trying to run a .jar file as a process. I downloaded it and it says

How to launch XPI Maker ?

As XPI Maker is a Java application, it wouldn't be to hard to launch it... Under windows, you can use the command :

C:\>javaw "path to the Jar file"\xpimaker.jar

Now, i know how to get to the Command Prompt and to where the line starts off with C:\>
But i type in javaw C:\xpimaker.jar after that and an error pops up. It says
"Could not find main class. Program will exit"

The xpimaker.jar file is located in at C:\
So if anyone can help me, it would be appriciated :tazz:
  • 0

Advertisements


#2
Fenor

Fenor

    Trusted Tech

  • Retired Staff
  • 5,236 posts
At the command prompt (START-->RUN and type 'cmd') try using the following format to run your jar file:

java -jar c:\xpimaker.jar

Fenor
  • 0

#3
TheBrotherhood313

TheBrotherhood313

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 127 posts
Wow thanks, that worked :tazz:
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP