Help installing program with a .jar ?
I am trying to install a program (outloook LAN messenger)on Debian Lenny - The file I downloaded was a .tar.gz file. I saved it to my home directory and did the following;
tar xvf outlookmessenger.tar.gz it decompressed the file and created the new directory (OutlookMessenger) just like it should have, here is where I am running into confusion... I changed to the new directory with plans to run ./configure but it retuns with the "No Such Directory" When i look in the directory it created all that's there is an "OMHelp" directory and a "OutlookMessenger.jar" file... I'm new to this and this is my first post so I will appreciate ANY Help... Thanks... -Dave |
You need to have java installed.
JRE (Java Runtime Environment) just run the file ./foo.jar |
I usually run:
Code:
java -jar program.jar |
OK, so I take it that once I have the .jar file that's it on the installation? I installed JAVA (that was fun) and I did as suggested, (java -jar OutlookMessenger.jar) and it seems to work. Now I have another question, How can I make a desktop shortcut that will launch this program without having to go to the command line? Thanks again for the help....
-Dave |
create an icon, and in the properties you put
Code:
java -jar /path_to/OutlookMessenger.jar |
and to make things a little easy in installing java next time ..you can add debian multimedia repo to your /etc/apt/sources.list and java is there along with flash,w32codecs,libdvdcss,adobe reader if you want that..along with a lot of other packages that are not in the debian main contrib non-free repo's..
http://debian-multimedia.org/ |
OK, I got it to launch but once the program (outlook Messenger) opens it freezes up and does nothing. Might be a problem with the program it'self?
As for: "to make things a little easy in installing java next time ..you can add debian multimedia repo to your /etc/apt/sources.list and java is there along with flash,w32codecs,libdvdcss,adobe reader if you want that..along with a lot of other packages that are not in the debian main contrib non-free repo's" What does it mean when you refer to "debian main contrib non-free repo's" ? Can you clarify this for me? Thanks... -Dave |
One more thing, how do I do this
"you can add debian multimedia repo to your /etc/apt/sources.list " and can you please explain what it actually is that I'm doing? Sorry, I hate not knowing, thanks again... -Dave |
Quote:
If it works from terminal, and not from the launcher, perhaps you first need to cd to the directory which contains the jarfile For multimedia, add this to your sources.list This are the repo's to get flash,w32codecs,libdvdcss,adobe reader ....using apt-get |
NO, It still isn't working - it launches but then freezes up.... I was able to get it working on another Linux PC but not this one. I am going to start over from the beginning and see if I can get it to work.
So, do I need to open the "sources.list" file and edit it to include "# multimedia deb http://gulus.usherbrooke.ca/pub/dist...an-multimedia/ stable main" ??? Thanks... -Dave |
yes
|
OK, I must be doing something wrong here. I edited the sources.list file as you suggested but when I do the apt-get install Flash or anything else it tells me that it couldn't find the package???? Thanks...
-Dave |
did you do
apt-get update ? |
No, I hadn't done that yet. When I did do the "apt-get update" this is what i got:
debian:/home/davep# apt-get update Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny Release.gpg Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny/contrib Translation-en_US Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny/main Translation-en_US Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny Release Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny/contrib Packages/DiffIndex Ign cdrom://[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 DVD Binary-1 20090214-16:54] lenny/main Packages/DiffIndex Ign http://gulus.usherbrooke.ca stable Release.gpg Ign http://gulus.usherbrooke.ca stable/main Translation-en_US Hit http://http.us.debian.org lenny Release.gpg Ign http://gulus.usherbrooke.ca stable Release Hit http://security.debian.org lenny/updates Release.gpg Ign http://security.debian.org lenny/updates/contrib Translation-en_US Hit http://volatile.debian.org lenny/volatile Release.gpg Ign http://volatile.debian.org lenny/volatile/contrib Translation-en_US Ign http://http.us.debian.org lenny/main Translation-en_US Ign http://gulus.usherbrooke.ca stable/main Packages Ign http://security.debian.org lenny/updates/main Translation-en_US Hit http://security.debian.org lenny/updates Release Hit http://http.us.debian.org lenny Release Ign http://volatile.debian.org lenny/volatile/main Translation-en_US Hit http://volatile.debian.org lenny/volatile Release Ign http://gulus.usherbrooke.ca stable/main Packages Err http://gulus.usherbrooke.ca stable/main Packages 404 Not Found Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex Ign http://volatile.debian.org lenny/volatile/contrib Packages/DiffIndex Ign http://http.us.debian.org lenny/main Packages/DiffIndex Ign http://security.debian.org lenny/updates/main Packages/DiffIndex Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex Ign http://security.debian.org lenny/updates/main Sources/DiffIndex Hit http://http.us.debian.org lenny/main Packages Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex Ign http://volatile.debian.org lenny/volatile/contrib Sources/DiffIndex Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex Hit http://security.debian.org lenny/updates/contrib Packages Hit http://volatile.debian.org lenny/volatile/contrib Packages Hit http://security.debian.org lenny/updates/main Packages Hit http://security.debian.org lenny/updates/contrib Sources Hit http://volatile.debian.org lenny/volatile/main Packages Hit http://volatile.debian.org lenny/volatile/contrib Sources Hit http://security.debian.org lenny/updates/main Sources Hit http://volatile.debian.org lenny/volatile/main Sources W: Failed to fetch http://gulus.usherbrooke.ca/pub/dist...-i386/Packages 404 Not Found E: Some index files failed to download, they have been ignored, or old ones used instead. debian:/home/davep# Looks like it cant find the "gulus" address???/ -Dave |
Seems to me the link isn't copied correctly on the forum
I will give it without the http:// Code:
gulus.usherbrooke.ca/pub/distro/debian/debian-multimedia/ stable main |
All times are GMT -5. The time now is 03:43 AM. |