Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
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