Java Runtime Environment is a part of the Java platform. The Java platform refers to a group of software products from Oracle. The platform is used to develop and run Java programs. The platform includes the execution engine (called a Java Virtual Machine) that allows the same Java program file to run on different operating systems. This is a big advantage.
The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 375 open source projects, including runtimes, tools and frameworks. X64 Virtual Machine 64 bit download - x64 - X 64-bit Download - x64-bit download - freeware, shareware and software downloads. (64-Bit) provides the libraries, the Java Virtual Machine, and other components to run applets and applications. Freeware tags: JRE x64, Java x64, Sun. PotPlayer 64bit 1.7.21289 x64 freeware download; Adobe.
On the other hand Java applications do require a 'Java Runtime Environment' (JRE), and this installation does depend on the operating system you are running. How to download node js on mac. This page explains how to install JRE on your machine and how to run a Java application though the Java runtime.
App password mac mail. Also see Wikipedia's explanation of Java Runtime Environment.
Much software in the OSM ecosystem depends on the Java Runtime Environment:
![]()
How to install
If you are not interested in running applets inside the web browser you might choose not to install any browser plugins/extensions. They are not needed for running Java desktop programs (like the OSM editor JOSM) but frequently pose a security risk. You also could disable the browser plugin afterwards or use your browser's controls to disable or enable.
Windows
Mac OSMinimum system requirements
Java JRE 9: Mac OS 10.10+
Java JRE 8: Mac OS 10.7.3+
Java JRE 6 (provided by Apple): Mac OS 10.5 – 10.6 only
Java JRE 1.5 (provided by Apple): Mac OS 10.4
Check which Java version you have in Mac OS
There are several ways to figure out which version of Java you have:
Download Java from Oracle for Mac OS
For how to run a Java program, see the section further down this page.
Linux
Arch LinuxDebian
See refer to 'User documentation' section at debian wiki.
Note: If you have another JVM installed and want to use SUN's java, start josm with
Gentoo
See 'Installing a JRE/JDKs' section at gentoo wiki.
Standard installation with Portage:
Gentoo ebuild collections has some OSM Java applications. By installing one of it, you can install the JRE as a dependence. For example:
There are many plug-ins already available as ebuilds. Look at https://svn.openstreetmap.org/applications/utils/gentoo/ for a complete list. If you are interested in latest development version of java applications and extra plugins of them use the OpenStreetMap Gentoo Overlay.
openSUSE/Fedora/Mandriva
See the 'Installing Java' article at the openSUSE Support Database.
Ubuntu
See for example …
FreeBSD
See the guide at freebsd.org.
How to run a Java application
Many Java applications come packaged as a file with the '.jar' extension. In most operating systems there are those two ways to run Java applications: double-clicking and via a command terminal. Both are described in the following sections.
Double-click a jar
Many jar files are 'runnable'. This means you can simply double-click the file on many operating systems. The file contains details of which Java class files to run by default, and the application just starts up. Easy!
This assumes a few things though. Firstly you'll need Java installed as detailed above, and with the necessary operating system hooks enabled, and these may not be available for some operating systems.
This is also an security issue. Think twice before you set up your system to start jar files automatically by just clicking – this would work with all downloaded jar files then (also with accidental, malicious downloads)! Better use the command line or a manually built link/script.
Run it on a command terminal
This way is a more basic fundamental approach which you can use on any operating system. How to download pokemon sage on mac. Some Java applications (for example, mkgmap.jar) cannot run without terminals.
It's not hard even if you don't have any experience of command lines. For example for to run JOSM, open your command terminal and type those commands (example for the program file josm-tested.jar): Download torrent jack the bull 1080p.
Where is the command terminal?
Windows
Usually, the JRE installer registers the .jar file type to be run by javaw.exe (which is another java running command. Bematech us drivers. It is special for Windows to run Java GUI applications without terminals.) command. So you can run .jar just by double-clicking it. However, this way cannot add options. To add options, you can choice from two ways.
Java Virtual Machine Windows 10
Mac OS
In Mac OS 10.4 or later simply double click on a application's jar file and Java should load the .jar file.
Note that the JRE download (as opposed to the JDK download) from Oracle does not replace the shortcuts like 'java' in your command line Terminal (see [1]). To access the JRE from the command line use
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java instead of just java . Some application launchers, e.g. JOSM's, still work with the JRE (find them automatically).
Special options for Mac OS
Use the Java options
-Dapple.laf.useScreenMenuBar=true to place the menu on the Mac OS menu bar, and-Xdock:name='JOSM' -Xdock:icon='logo.png' to give it icon and name.
Creating a start application with Jar Bundler1.7 Java Virtual Machine Download Mac Install
Best flatout game. If you're not familiar with creating scripts just use the Jar Bundler application, coming with Mac OS. It'll create a start application, let's call it 'JOSM!'. You'll find it here /Developer/Applications/Java Tools/ or here /Developer/Applications/Utilities/. Just double click to launch it. In the first menu build information enter the location of the just downloaded JOSM jar file by clicking the choose. button. In the third menu properties choose the edit box vm options to enter the appropriate memory settings. If you're able to afford it try spending up to a GB RAM to JOSM. Here's what to enter into the edit box: -Xmx512M -XX:MaxPermSize=512M (which starts the JOSM application with 512MB and grants up to 1GB of RAM). Then press create application. to create the start application (call it JOSM!, f.e.). JOSM! does not have to be in the same directory as the jar file. Just save or move JOSM! to your applications folder. Double click JOSM! to start the JOSM application.
Via shell scripts (Linux, FreeBSD, Mac OS)
Input a command line as the above is the basic. Usually the command line become long. It is better to make a shell script to run for each jars. There are some users make some useful shell scripts for specific applications; for example see JOSM/Linux#Start JOSM.
Options for application execution
You can add options on the command line, in the command of your shortcut, in your script or – depending on your system – in an environment variable (
_JAVA_OPTIONS ). There are two kinds of options: One kind for initialising the Java Virtual Machine, the other for application options.
Java 1.7.0 Virtual Machine Download
The following are commonly used options for the Java VM:
1.7 Java Virtual Machine Download Mac Os
![]()
The options for the application depend on each applications. See their page for these.
Retrieved from 'https://wiki.openstreetmap.org/w/index.php?title=Java_Runtime_Environment&oldid=1550939'
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |