Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-12-2009, 03:53 AM
|
#1
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
|
Java console gone? Hlp
Hi,
Does anyone know where the Java Console is in openJDK? I've opened jconsole, very cool, but it's all graphics and nothing else.
I started the /sbin/lconfig but that did'nt help - did I just mess up my box??? :-/
Tnx
Thor
|
|
|
04-12-2009, 07:17 AM
|
#2
|
Member
Registered: Apr 2009
Distribution: Slackware-12.2
Posts: 75
Rep:
|
jconsole [ options ] [ connection ... ]
The jconsole command launches a graphical console tool that enables you to monitor and manage Java applications and virtual machines on a local or remote machine. I don't understand your question...
|
|
|
04-12-2009, 09:45 AM
|
#3
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Original Poster
|
Ah, well, if I send an output to the console, I'd do this:
Quote:
private void talk2Console(String s)
{
System.out.println("Module 1 says :" + s);
}
|
(forgive my Java  ...)
So, where would I read the output? Can jconsole do that? Because I did'nt find it...
Tnx!
Thor
|
|
|
04-12-2009, 04:59 PM
|
#4
|
Member
Registered: Apr 2009
Distribution: Slackware-12.2
Posts: 75
Rep:
|
The jconsole is used to monitor application performance. Using the jconsole you can monitor the memory, threads, information from the java virtual machine, and class loading information. System.out.println will not display output in the "jconsole", rather in the normal console. If you're running the java program from the command line, you will see the output in the command window. If you're running the script in an IDE, the IDE should contain its own console.
|
|
|
04-13-2009, 02:37 AM
|
#5
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Original Poster
|
Indeed, but ... (snag) ... what about an Applet?
Firefox has extentions available on its site (done by Danielle Pham) but they dont work...
I also tried to scan my filesystem for ffjcext.zip but did'nt fint it - this seems to be a firefox extention that shows a Java console...
This project could die right here... :~(
(sob-sob)
Thor
|
|
|
04-13-2009, 07:45 AM
|
#6
|
Member
Registered: Apr 2009
Distribution: Slackware-12.2
Posts: 75
Rep:
|
What is it you're trying to do?
If you're trying to print something in an applet, then you should check out the drawString() method.
|
|
|
04-13-2009, 10:03 AM
|
#7
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Original Poster
|
No, the print to the console is only meant as debug info, once the project goes live, the whole output via the console will of course be stopped...
Thor
|
|
|
04-15-2009, 03:06 AM
|
#8
|
Senior Member
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Original Poster
|
Hi,
Sad news, the plug has been pulled on the project...maybe (big maybe) it'll be picked up later, but for now, the project is dead and I doubt it'll ever be picked up again...
The backers backed down...
Thor
|
|
|
All times are GMT -5. The time now is 07:35 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|