I'm trying to learn Regular Expressions in JAVA, it was suggested I copy and compile code in my preferred IDE (Eclipse) to test how the API works.
Source: https://docs.oracle.com/javase/tutorial/essential/regex/test_harness.html
When I run, my IDE simply says "No Console" in the output.
I've written many programs from the online classes I've been taking for JAVA, never encountering a situation where the console is not recognized. I have exported those compiled projects as runnable .jars and never had a problem from the command line executing only the jar file name. I have found when exporting as a runnable .jar - for this specific jar file - to preface executing on the command line with --> java -jar <*runnable.jar*>
.
That works ... running from my IDE does not.
Perhaps obviously, I'm a newbie to OOP, and I've searched everywhere (including on your site), and don't have a clue. I am running the Mars 2 (4.5.2) version of Eclipse on a Windows 7 64-bit machine; JRE/JDK 8; along with a JAVA_HOME ENV setup.
Can someone give me an idea as to which properties to change in the IDE settings for Eclipse? Or perhaps, the Oracle code needs to be augmented for my particular environment?