Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Java does nothing when running the "java" command

User_K350DDec 5 2022

Hello,
I am currently trying to use Java with Ghidra (totally unrelated).
When I installed the JDK, I tried running the java command. But when I did, nothing happened. Nothing was outputted
I tried running it with the -version flag, but it also did nothing.
I also tried the same with javac, also no output
Is there a reason why this could have happened?
Thanks!

Comments
Post Details
Added on Dec 5 2022
7 comments
832 views