Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to get information from console during application is running

  1. #1
    Junior Member
    Join Date
    Aug 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to get information from console during application is running

    Hi there,

    I am new to Java application development.

    I am using ImageJ commands to process images in a java application.

    ImageJ methode's errors appear only in the GUI.

    As I don't have a GUI for my application, I can redirect the error message to the console.

    My question is :

    How to get these error messages from the console and treat them during the Application is running ?

    Example of error in console :

    Plugin or class not found: "application.Home_Made"
    (java.lang.ClassNotFoundException: application.Home_Made)
    2012-08-13 08:27:25,090 [enerContainer-1] INFO  UserDao                        - UserDao - findUser
    2012-08-13 08:27:25,097 [enerContainer-1] INFO  FileRepository                 - Generating input file: 96b65ff1/a70c/47ea/acd8/26a3c36dcd98/sfsdfsdfsdscivil.jpg

    I would like to catch the error that "application.Home_Made" is unavailable.

    Thank you very much in advance,

    Best,


  2. #2
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: How to get information from console during application is running

    Quote Originally Posted by gael.anex View Post
    ...I would like to catch the error that "application.Home_Made" is unavailable...
    read this page and the next several pages of the tutorial

Similar Threads

  1. Problem running web application with jboss
    By jessie in forum JDBC & Databases
    Replies: 0
    Last Post: July 29th, 2012, 12:04 PM
  2. Problems with running and compiling application
    By set_lugaru in forum Java Theory & Questions
    Replies: 4
    Last Post: July 3rd, 2012, 04:26 PM
  3. Information about currently running processess
    By Waseem Usman in forum Member Introductions
    Replies: 1
    Last Post: March 23rd, 2012, 09:06 AM
  4. getting NPException while running my struts first application using tomcat
    By rafishaik999 in forum JavaServer Pages: JSP & JSTL
    Replies: 1
    Last Post: September 19th, 2011, 05:56 AM
  5. Console Application - How to run it?
    By mirzahat in forum AWT / Java Swing
    Replies: 3
    Last Post: November 16th, 2010, 12:21 AM