Solved

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

Posted on 2011-09-19
2
497 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
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now