Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-09-19
2
Medium Priority
?
559 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 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This video teaches viewers about errors in exception handling.
Suggested Courses

597 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