Eclipse Temurin Practical Use in Coommand Prompt
posted 1 year ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Eclipse Temurin Downloaded and looking for actual use to run % javac file after editing in wordpad as .java file
My specific issues are which directory I shall store the wordpad .txt file as .java file
and
Later how to type in command prompt application to run the java file.
I am beginner, just started now.
Need help
My specific issues are which directory I shall store the wordpad .txt file as .java file
and
Later how to type in command prompt application to run the java file.
I am beginner, just started now.
Need help
posted 1 year ago
-
1 -
-
Number of slices to send:Optional 'thank-you' note:
-
-
Welcome to the Ranch 
Beginners are probably better off using the command line or terminal until they are familiar with its instructions, particularly how to set a CLASSPATH.
Don't set a system CLASSPATH, but do set a system PATH. Test your PATH by running the following command line or terminal instructions:-I recommend you don't use MS Notepad, but download Notepad++, an unrelated text editor, but much better.

Don't. Either use Eclipse for everything, or run all your code from the command line.Venkatesh Kairamkonda wrote:. . . which directory I shall store the wordpad .txt file as .java file
Beginners are probably better off using the command line or terminal until they are familiar with its instructions, particularly how to set a CLASSPATH.
Don't set a system CLASSPATH, but do set a system PATH. Test your PATH by running the following command line or terminal instructions:-I recommend you don't use MS Notepad, but download Notepad++, an unrelated text editor, but much better.
Start by running the following two instructions at the command line. If you get names and numbers back, you are probably all right. You will have trouble if the result of the javac test is bigger than the result of the java test.You can of course call the new directory anything you like. Next time you open the command line or terminal, only use line 2 because line 1 won't do something twice. I recommend you put your Java® work in that directory, and you can of course create as many subdirectories as you want.Look at these FAQ, which include a section about your first Java® program.
. . . Later how to type in command prompt application to run the java file. . . .
| Ruth Stout was famous for gardening naked. Just like this tiny ad: Paul Wheaton's 16th Kickstarter: Gardening playing cards for gardeners and homesteaders https://coderanch.com/t/889615/Paul-Wheaton-Kickstarter-Gardening-playing |










