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?
Do you need this to do you job or not? If it's your job, you should have access or they should install it. If you don't have access because it's not your job, I suggest installing the JDK at home (or on a laptop you can take with you)
Due to some admin issues I don't have JDK on my system.
Install it in your home directory or another directory you can write to. Your admins can't prevent you from installing the JDK if you have enough disk space.
You need some program which compiles your sources, but that doesn't neccessarily have to be the JDK.
For example you can download Eclipse which only requires a JRE, it has it's own compiler (built-in) and you can develop with that. Eclipse does not require any admin priviliges, it's a zip file which you can download and extract.
JRE is not just sufficient, without compiling the code for that you need Jdk which have compiler to compile the code.
You can't develop any Java
application since you need JDK(Java Development Kit)
to compile your code. JRE(Java Runtime Environment)
provides run time environment only. You can run your compiled code in JRE
.
You need to compile them in order to develop and that is why you need jdk
JDK is needed to compile your java file into class file. And JRE will execute the generated class file and provides the output. If you have admin problems in your m/c then you can install the JDK in some other m/c and take the class files into your system and execute them.