Solved

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

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

691 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