facebook

Sytem.out.println [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #204855 Reply

    gz2jbt
    Member

    How do I see this output in eclipse 3.1.2, myeclipse 2.7?

    #204867 Reply

    nosrema
    Member

    If your deploying your project to a application server, once you start the app server with MyEclipse, you should see the console output of the server at the bottom of the MyEclipse workbench. That is where System.out.println statements will be displayed.

    #204870 Reply

    Riyad Kalla
    Member

    gz2jbt,
    As nosrema correctly pointed out, if you are starting your application server from MyEclipse, the output view (you must have this view somewhere in your interface) will display the console output from the app server.

    #204899 Reply

    gz2jbt
    Member

    I don’t see the output view option. I expected all output from the app server (JBoss) in an output window at the bottom of the IDE. This is the behavior I experienced using eclipse 2.0.2. What am I missing? BTW, thanks for the prompt replies

    #204903 Reply

    Riyad Kalla
    Member

    Well you are correct, this is where the ouput should go. How have you configured the application server in MyEclipse? Are you launching the application server from MyEclipse using the application server launcher drop down? Does your perspective switch to the Debug perspective when you run the app server?

    #204936 Reply

    Not to hijack the thread, but I am having the same issue. I start the server from the drop-down menu and it starts just fine, but the perspective does not switch to debug and there is no output window. If I change the perspective to Debug and then start the server, there is also no output window.

    Brad

    #204939 Reply

    Riyad Kalla
    Member

    Brad,
    Can you post your system information from the posting guidelines for us? Easy way is to click Post Reply and hit the Insert button and fill out the questions.

    This sounds like an installation problem to me, because running an app server from MyEclipse automatically switches you to the Debug perspective, there is actually an open enhancement for it NOT to do that 🙂

    #204955 Reply

    Sure,

    – System Setup ——————————-
    Operating System and version: Windows XP SP 1
    Eclipse version: 3.0 M7
    Eclipse build id: 200402122000
    Fresh Eclipse install (y/n): Yes
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins: XMLBuddy
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 3.7.0
    Eclipse JDK version: 1.4.2_03
    Application Server JDK version: 1.4.2_03
    Are there any exceptions in the Eclipse log file? Yes, a recurring one –

    !ENTRY org.eclipse.jdt.core 4 4 Mar 17, 2004 12:37:36.185
    !MESSAGE Exception occurred in classpath container initializer: org.eclipse.jdt.internal.launching.JREContainerInitializer@2bfa91

    – Message Body ——————————-

    Brad

    #204971 Reply

    Everything seems to be working normally for me now. I added the java/bin directory to my path for another reason and had rebooted my machine. Not sure which one did the trick, but starting Tomcat now brings up the debugging perspective with the console output. Go figure.

    Brad

    #204974 Reply

    Riyad Kalla
    Member

    Glad to hear it is working.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Sytem.out.println [Closed]

You must be logged in to post in the forum log in