Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (590)
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 1997 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
« 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
« 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: 422
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.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

trollwarrior1 (33 views)
2014-11-22 12:13:56

xFryIx (73 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50

digdugdiggy (46 views)
2014-11-12 21:10:15

digdugdiggy (40 views)
2014-11-12 21:09:33

kovacsa (65 views)
2014-11-07 19:57:14

TehJavaDev (69 views)
2014-11-03 22:04:50

BurntPizza (68 views)
2014-11-03 18:54:52

moogie (82 views)
2014-11-03 06:22:04

CopyableCougar4 (82 views)
2014-11-01 23:36:41
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org 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‑gaming.org
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!