LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   file extension .jar (https://www.linuxquestions.org/questions/linux-desktop-74/file-extension-jar-473902/)

houndhen 08-14-2006 09:13 PM

file extension .jar
 
I am new to Linux and have installed Xandros 4.0 home premium to my XP system I am dual booting fine. I downloaded a linux accounting file by the name of 'jgnash-1.10.6.jar'.

How do I install this program to see if it is what I need?

Thanks,

AAnarchYY 08-14-2006 09:26 PM

that is a java program, to run it:
java -jar jgnash-1.10.6.jar

houndhen 08-15-2006 11:04 AM

sorry to be obtuse
 
Quote:

Originally Posted by AAnarchYY
that is a java program, to run it:
java -jar jgnash-1.10.6.jar

What do you mean by what follows 'to run it:'? Am I to type that in somewhere? If so, where?

Also would this just run the program and not install it?

I am not even sure it is a program. Sorry to be so ignorant. There is so much to learn for an old man coming from windows.

Thanks

rickh 08-15-2006 11:21 AM

Probably, you would rather run it by clicking an icon. This instruction assumes that you are using the Gnome desktop and Xandros came with java already installed. We will also assume that you put the jgnash-1.10.6.jar file in your "Home" directory. (Not on the Desktop)

Right click in a blank area of the Desktop. Select "Create Launcher." Put the command, "java -jar jgnash-1.10.6.jar," where it says, Command. Put "Jgnash" where it says, "Name." Click the button that says, "No Icon," and pick an icon you like. Click OK. Then double click the icon and see if it works.


All times are GMT -5. The time now is 10:06 AM.