• Post Reply Bookmark Topic Watch Topic
  • New Topic

Difference between bin folder and runtime environment.  RSS feed

 
Puneet Mittal
Ranch Hand
Posts: 45
Eclipse IDE Tomcat Server Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i m a begineer in java. i want to know, what is the basic difference in the development folder bin of java and its runtime environment folder.
 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch

Don't go calling "bin" a development folder; it is where the programs which you download with Java live. Don't add it to your classpath and don't put any files of your own in it. you should however have the "bin" folder in your PATH.

The JRE (=Java runtime environment) is a set of programs allowing you to execute already-compiled Java applications. I don't think there is a "runtime environment" folder. The JRE has its own "bin" folder, including java.exe but without javac.exe.
 
Puneet Mittal
Ranch Hand
Posts: 45
Eclipse IDE Tomcat Server Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi , thanks for reply. As you said there is no javac.exe in jre, than if we develop our own programs in jre so can we compile them in jre? if yes than how?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't. That's what the JDK is for (D=Development and R=Runtime).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!