Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (601)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (649)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  JAVA Control Panel and trace folder location in Linux  (Read 2287 times)
0 Members and 1 Guest are viewing this topic.
Offline sloesp

Senior Newbie

« Posted 2009-10-28 19:13:47 »

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?
Offline pjt33

« JGO Spiffy Duke »

Medals: 40
Projects: 4
Exp: 7 years

« Reply #1 - Posted 2009-10-28 22:08:50 »

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.
Offline sloesp

Senior Newbie

« Reply #2 - Posted 2009-10-29 01:39:15 »

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.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline pjt33

« JGO Spiffy Duke »

Medals: 40
Projects: 4
Exp: 7 years

« Reply #3 - Posted 2009-10-29 09:32:23 »

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.
Offline gouessej
« Reply #4 - Posted 2009-10-29 12:25:58 »

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

Offline sloesp

Senior Newbie

« Reply #5 - Posted 2009-10-30 13:47:15 »

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...
Offline princec

« JGO Spiffy Duke »

Medals: 555
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #6 - Posted 2009-10-30 14:50:56 »

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 Smiley

Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Riven (26 views)
2015-07-27 16:38:00

Riven (15 views)
2015-07-27 15:35:20

Riven (20 views)
2015-07-27 12:26:13

Riven (10 views)
2015-07-27 12:23:39

BurntPizza (26 views)
2015-07-25 00:14:37

BurntPizza (39 views)
2015-07-24 22:06:39

BurntPizza (22 views)
2015-07-24 06:06:53

NoxInc (25 views)
2015-07-22 22:16:53

NoxInc (17 views)
2015-07-22 22:13:39

Jesse (39 views)
2015-07-22 03:10:36
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!