Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
get weblogic logged in user in java 2 57
HSSFWorkbook cannot be resolved error 10 50
Windows 10 IE Certificate Issue 10 41
java jdbc batch example 8 20
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…

912 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

22 Experts available now in Live!

Get 1:1 Help Now