[opensuse] How to click and run a Java class
Hi everyone I have a java program which I'd like to just click and run. The class is called DataEntry It is in /usr/local/bin/DataEntry/DataEntry.class This gets us there: #!/bin/bash cd /usr/local/bin/DataEntry java DataEntry I have chmod +x'd it. Unfortunately it then opens a new window giving more options: Execute, Execute in Terminal, Open, Cancel How do I just click and run without the options popup? L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tuesday 29 May 2012 22:55:32 lynn wrote:
Hi everyone
I have a java program which I'd like to just click and run.
The class is called DataEntry
It is in /usr/local/bin/DataEntry/DataEntry.class
This gets us there: #!/bin/bash cd /usr/local/bin/DataEntry java DataEntry
I have chmod +x'd it.
Unfortunately it then opens a new window giving more options: Execute, Execute in Terminal, Open, Cancel
How do I just click and run without the options popup?
Lynn which window environment/program are you clicking in. When I do this in kde it doesnt ask the question A -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi! Am Dienstag, 29. Mai 2012, 22:55:32 schrieb lynn:
The class is called DataEntry
It is in /usr/local/bin/DataEntry/DataEntry.class
This gets us there: #!/bin/bash cd /usr/local/bin/DataEntry java DataEntry
I have chmod +x'd it.
Unfortunately it then opens a new window giving more options: Execute, Execute in Terminal, Open, Cancel
How do I just click and run without the options popup?
If you use eclispe you can export the class as an executable jar. Regards, Matthias -- Matthias Bach www.marix.org „Der einzige Weg, die Grenzen des Möglichen zu finden, ist ein klein wenig über diese hinaus in das Unmögliche vorzustoßen.“ - Arthur C. Clarke
participants (3)
-
Andrew Colvin
-
lynn
-
Matthias Bach