Tiemen Posted October 28, 2020 Share Posted October 28, 2020 Hi, I am starting to learm Java(first language). I am having trouble starting up. I try to run my first line of code. But it gives an error. I know the existense of command Prompt but I don't know how to use it. Can somone help me out? Thanks Link to comment Share on other sites More sharing options...
Tiemen Posted October 28, 2020 Author Share Posted October 28, 2020 I tried it in Eclipse, that seems to work. Link to comment Share on other sites More sharing options...
Funce Posted October 28, 2020 Share Posted October 28, 2020 That would be because you're "C:/Users/YourName>" is the example of what's in your terminal already. The command you had to run was simply javac MyClass.java Link to comment Share on other sites More sharing options...
Tiemen Posted October 29, 2020 Author Share Posted October 29, 2020 Haha, ok. Thank you. I was afraid it was something simple. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now