Access is denied while compiling Java on Windows

后端 未结 7 920
星月不相逢
星月不相逢 2020-12-18 00:30

I created two java files: Pizza.Java and PizzaOrder.Java.

I tried compiling my code using javac in the command prompt like this:

         


        
7条回答
  •  囚心锁ツ
    2020-12-18 01:11

    U need to set ur path in ur computer.first copy of ur bin path(c:/programfiles/java/jdk1.7/bin) then go to ur computer properties->advanced system settings->Environment variables then click new then type path in name and paste it with semicolons front and back(;c:/programfiles/java/jdk1.7/bin;).... then it will run.....

提交回复
热议问题