LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-12-2009, 03:53 AM   #1
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Question 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
 
Old 04-12-2009, 07:17 AM   #2
1337
Member
 
Registered: Apr 2009
Distribution: Slackware-12.2
Posts: 75

Rep: Reputation: 18
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...
 
Old 04-12-2009, 09:45 AM   #3
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766

Original Poster
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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
 
Old 04-12-2009, 04:59 PM   #4
1337
Member
 
Registered: Apr 2009
Distribution: Slackware-12.2
Posts: 75

Rep: Reputation: 18
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.
 
Old 04-13-2009, 02:37 AM   #5
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766

Original Poster
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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
 
Old 04-13-2009, 07:45 AM   #6
1337
Member
 
Registered: Apr 2009
Distribution: Slackware-12.2
Posts: 75

Rep: Reputation: 18
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.
 
Old 04-13-2009, 10:03 AM   #7
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766

Original Poster
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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
 
Old 04-15-2009, 03:06 AM   #8
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766

Original Poster
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
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
 
  


Reply

Tags
console, java



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java and PHP - pls hlp ButterflyMelissa Linux - Software 5 04-11-2009 03:14 AM
console menu using java epoo Programming 2 06-03-2007 09:09 AM
how to make java console menu paind Programming 3 05-27-2007 01:10 PM
purpose of Java Console in Firefox? microsoft/linux General 1 10-04-2005 07:57 AM
java gui console? sibtay Linux - General 1 11-29-2004 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration