I just downloaded a program called Oulook Messenger that my family uses to communicate. The program uses Java to run on Linux machines and I would like it to start automatically with my computer. I can run it by going to to folder, opening the terminal there, and typing in:
java -jar OutlookMessenger.jar
However when I close the terminal, Outlook Messenger closes too. Is there a way to open this when my computer starts without having the terminal open? Thanks!
Ham Radio wrote:
> i have tried typing in
> Code:
> --------------------
> java -jar OutlookMessenger.jar
> --------------------
> but that doesn’t work.
>
> Any ideas? Thanks!
Well the first idea might be that you post the error message you got?
You forhot to tell:
a) which level of openSUSE you use;
b) which desktop you use.
When you say " when my computer starts", do you mean on boot (thus without anybody loged in), or on login of a certain user. In the first case it is a system thing (should go in boot.local or the like), for the second case it should go into the autostart of the user’s desktop.
You are so right! Sorry about that. I just installed openSUSE last night, so I am kinda new to it
I am running openSUSE 12.2 with KDE 4.9.5.
So if I go into the autostart, (Not really sure where that is) and choose it to start, will it start like it should with java, or just the archive manager?
On 2013-02-21 02:06, vazhavandan wrote:
> me3064;2528856 Wrote:
>> > The proprietary java has something called jexec that does exactly this.
>> > I’m sure there might be something in the open source world as well.
> They don’t even package oracle / sun java due to licensing issue. You
> can forget about FUDware
Well, you can not get oracle/sun java from openSUSE via yast or zypper
as we did in the past, but of course that you can download and install
it if you want it.
The license issue simply impedes distributors from distributing it. It
is a silly move, IMO, but they are very happy if you download it from
them directly and install it.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
The main problem with doing it from sun/oracle download is that , we need to do those syslink tricks for browsers to detect in case we need applets etc… Not a very pleasant process per se
Java in the browser has been disabled by me for a very very long time due to the absolute security mess it is. But yeah, install the proprietary version isn’t straightforward at all.All I was saying is that the Oracle version has something that allows for what the OP wanted and I’m sure there is an open source equivalency.
> The main problem with doing it from sun/oracle download is that , we
> need to do those syslink tricks for browsers to detect in case we need
> applets etc… Not a very pleasant process per se
It is not that difficult. You do it once, and after that you simply
upgrade the rpm each time.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
hcvv wrote:
> You forhot to tell:
> a) which level of openSUSE you use;
> b) which desktop you use.
>
> When you say " when my computer starts",
There seems to be some problem here. The OP didn’t say " when my
computer starts"! Is this some bug in the forum/nntp software?
> do you mean on boot (thus
> without anybody loged in), or on login of a certain user. In the first
> case it is a system thing (should go in boot.local or the like), for the
> second case it should go into the autostart of the user’s desktop.
>
>
On 02/21/2013 11:52 AM, Dave Howorth wrote:
> There seems to be some problem here. The OP didn’t say " when my
> computer starts"! Is this some bug in the forum/nntp software?
this question should be in the appropriate forum, but i’ll answer
here and a mod can decided to move this sub-thread if they wish:
yes and no!
it is a bug in that the forum/nntp hookup allows the text to flow to
the nntp side while the http user is still in the process of editing
the post…
no it is not be a ‘bug’ because it has been that way for years and
won’t be changed because the http user must (apparently) be able to
press Post and still change text for some seconds/minutes…
because delivering complete/correct posts to the nntp side is
secondary…everything to do with the nntp side is secondary.
–
dd
openSUSE®, the “German Engineered Automobile” of operating system.
So I open the terminal up where my .jar file is, and type this:
java -jar OutlookMessenger.jar
Outlook Messenger then opens, but I have to keep the terminal open too. Is there a way to open Outlook Messenger without using the terminal so that when I double click on the file it just opens? I found the way to make it startup in Linux Mint KDE automatically, but it still doesn’t work in openSUSE, because I need to have the correct application in the “Application Preference Order”.
On 2013-03-04 03:16, Ham Radio wrote:
> Code:
> --------------------
> java -jar OutlookMessenger.jar
> --------------------
>
>
> Outlook Messenger then opens, but I have to keep the terminal open too.
> Is there a way to open Outlook Messenger without using the terminal so
> that when I double click on the file it just opens?
You can, for example, press alt-f2, that usually opens a small dialog to
type a command, and type your text in there. It usually has an history
to retrieve what you typed yesterday.
Desktops usually also have methods to create icons so that when you
click on them the run whatever you want. I do not normally use that
method and I don’t know what desktop you use, so I will not give more
details.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
On Mon 04 Mar 2013 02:16:01 AM CST, Ham Radio wrote:
Thanks for all the advice guys.
I am using OpenJDK
So I open the terminal up where my .jar file is, and type this:
Code:
java -jar OutlookMessenger.jar
Outlook Messenger then opens, but I have to keep the terminal open too.
Is there a way to open Outlook Messenger without using the terminal so
that when I double click on the file it just opens? I found the way to
make it startup in Linux Mint KDE automatically, but it still doesn’t
work in openSUSE, because I need to have the correct application in the
“Application Preference Order”.
Hi
Just create a script (eg called start_OutlookMessenger) to run it from
you home bin directory and background it
#!/bin/bash
cd /some/path/to/your/jar/file
/usr/bin/java -jar OutlookMessenger.jar &