LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,210
Blog Entries: 23

Rep: Reputation: 279Reputation: 279Reputation: 279
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
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,210
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
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
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,210
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
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
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,210
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
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
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,210
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Thor_2.0 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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration