I am trying to write a Python script to automate some configurations in a Java application. I use subprocess.call(['sh','/vuze/azureus_script', 'start'])
to run the java application which is a command line torrent client. It automatically pops into a screen process in linux as soon as I start it.
I'm new to python. I'm trying to write an application with command line interface. The main application is communicating with server using tcp protocol. I want it to work in the background so I won't have to connect with the server every time I use interface. What is a proper approach to such a problem?
I don't want the interface to be an infinite loop.
I'm running on Ubuntu.
I have Java a program being started from command line using java -jar myTopJar.jar.
The myTopJar.jar should do something and than , run a second jar and terminate (the myTopJar.jar should terminate and let the second jar run).
In order to run a jar and disowning it (I mean from command line) I used to run this command: java -jar mySecondJar.jar & disown.
I have multiple java installations on my machine and need to use different versions all the time. I have found that the currently used JVM can be changed by the commands update-alternatives and update-java-alternatives, which essentially change the link at /etc/alternatives/java etc.
Using #! r20111125 32-bit and installed Java via corenominal's script. I've now downloaded and installed a Java application I need. It's executed from the command-line with java -jar ... etc. It runs fine, but it looks different to how it looked under Ubuntu and looks nothing like any GTK/OB applications. Do I need to install something to "theme" it?