Development at Command Prompt

I have coached many developers, new and experienced, who have primarily accomplished their Java development efforts or education with an IDE. When I ask them to do any troubleshooting or test their application from the command prompt, often they don't know where to begin. I believe you need to be prepared to execute (run) Java from the command prompt, and we will be doing some of that here.

Environment

When you get to the command prompt and you want to compile or run your code, you will need a couple of operating system environment settings: your PATH to find the JDK executables, and your CLASSPATH to find your code and the Oracle JDBC code. From wherever the recent JDK executables exist, they are able to find their ...

Get Expert Oracle and Java Security: Programming Secure Oracle Database Applications with Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.