reset password
Author Message
sirgeeooh
Posts: 5
Posted 02:52 Jan 29, 2017 |

I am trying to run my java script on command prompt but for some reason after it is compiled and I type in command "java Hello" it gives me an error. Please Help

jzunig20
Posts: 38
Posted 02:57 Jan 29, 2017 |

If im correct javascript and java are different things

There is also links on the class page that can help you start java from the command line 

Arnav98
Posts: 48
Posted 04:47 Jan 29, 2017 |

My best guess is that the command prompt is unable to find the file. Make sure you are looking in the correct directory. To change the directory use 'cd' command. If it still doesn't work make sure that you are typing the exact same name of the program after 'java' as the name of the program is case sensitive.

sirgeeooh
Posts: 5
Posted 04:52 Jan 29, 2017 |

Thank you so much I got it to work