Solved

How can you run and debug a console application  in JDeveloper?

Posted on 2011-09-19
2
540 Views
Last Modified: 2012-05-12
Judging from questions asked here, when I searched the database, you CAN run Java console applications from JDeveloper somehow.

When I run any console applications however, the GUI doesn't seem to give me a chance to enter anything, into the output window.

How can I run it then?

Thanks. Console app running, unable to enter data
0
Comment
Question by:AttilaB
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 22

Accepted Solution

by:
pivar earned 500 total points
ID: 36565668
Hi,

By Google I found this:

You need to tell it to indicate you want to allow program input by choosing Project | Default Project Settings and then expand the Configurations | Development | Runner trees and choose  options tab.  Then check "Allow Program Input"

Have you tried it?

/peter
0
 

Author Comment

by:AttilaB
ID: 36567027
I did a keyword search on "Allow Program Input"  based on your suggestion in JDeveloper
help for the latest 11g version, and they kept the text for the checkbox but they put it into a slightly different location in Project Properties. See attached PDF.

If the option is enabled an input box shows up at the bottom of the Log window that
you can bring into focus and type your input while running a console application. Allow-Program-Input-JDeveloper.pdf
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Apache Camel - Unable to propagate JMS Header Properties between Request - Response 3 40
login jsp example 24 102
Java: The Public Class Main 4 63
What browser will run Java? 7 170
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question