Can I develop Java programs if I have only JRE installed?

前端 未结 10 1080
执笔经年
执笔经年 2020-12-19 03:36

I have JRE 1.7 installed on my system. Due to some admin issues I don\'t have JDK on my system. is there any way I can develop Java programs with JRE only?

10条回答
  •  臣服心动
    2020-12-19 04:16

    No you can't develop java programs only with JRE

    You will need JDK for compiling your programs.JRE provides only runtime environment,but JDK is something you will need to compile your code to make them executable by your JRE.You will need javac for compiling your code which is present in JDK.

    enter image description here

    However for resolving the issue of admin rights you are having, you can download and install eclipse which has its own built in compiler.

提交回复
热议问题