JAVA Control Panel and trace folder location in Linux

I have installed Linux on a machine to be able to debug a JAVA JNLP application especially for Linux (it runs under Windows but not under Linux). The game window is opened, but then killed, and I need to know what is going on.

I need to “enable tracing” from the JAVA Control Panel, in order to see what the problem is. Thing is that I was unable to locate the JAVA Control Panel. I found on another forum that it has the filename “ControlPanel”, but when I do a search on the Linux machine, I can’t find it. I’m using OpenSUSE 11.1 with Gnome.

Also if I would enable tracing, I still would need to know where these “.trace” files are put. On a windows machine they are put in the “Application data” folder. Any ideas?

The control panel is accessed by running jcontrol. I assume that Suse puts a symlink to it in /usr/bin.

I don’t know what this tracing is, though, so I can’t help there. However, assuming that it isn’t to stdout you could always run updatedb and locate.

Hmmm, jcontrol is not present in this version. Could I ask what distribution you are using? Or did you install JAVA manually? Then maybe I should give that a try, in order to know where the Control Panel is getting installed at.

I use Debian lenny, but I installed Java myself because I want a moderately recent version. However, I’m pretty sure that Debian set up the symlink in /usr/bin because I wouldn’t have bothered using the alternatives system.

In your home directory, you should find a directory called “.java/deployment”.

Thanks for all the feedback. I have discovered that the game does run under Linux when I turn of the sound. But that doesn’t do me any good for debugging.

Thing is that I do have a “.java” directory in my home directory, but it does not contain “deployment”. And I’m still not any closer to finding the control panel…

It’s called ControlPanel, and it’s found in the bin directory of the jre installation (which, on my Ubuntu system, is /usr/lib/jvm/java-6-sun). When I installed the JRE that bin directory was put into my path so all I have to do is type ControlPanel to get it to appear. From there it’s just a case of Advanced->Enable Tracing/Logging, and then there should be something appears in the aforementioned deployment directory.

Cas :slight_smile: