wiki:pkg-java

Java

Java

The java package installs a Java runtime environment 6 + the Java Advanced Imaging libraries + native libs to make the imageio-ext packages work.

In order to be able to exploit the osgeo4w structure, keeping consistent with the original java jre structure, a bin and lib folder are needed. Therefore the jre is extracted and splitted into the root folder bin and lib, make that way the JAVA_HOME to be the root of osgeo4w, i.e. %OSGEO4W_ROOT%:

  • java.exe and native libs are extracted to osgeo4w\bin
  • other libs are put in osgeo4w\lib folder.
  • license files for ecw and similar are put in the osgeo4w\lib folder.

A script is created to set the JAVA_HOME environmental variable to be %OSGEO4W_ROOT%.

That way all the java based applications can exploit the virtual machine either through the JAVA_HOME variable or throught its direct path %OSGEO4W_ROOT%\bin\java.exe.

Maintained by AndreaAntonello

Open tickets

No results

Recently closed tickets

defect type tickets:

#222
Making GDAL Java bindings work
#225
Using the GDAL/OGR Java bindings with the OSGeo4W environment
#441
java contains libxml2.dll
#354
Outdated version of Java is installed OSGeo4W Installer
#434
Two different version gdal_ecw_jp2ecw.dll caused error

enhancement type tickets:

#571
Include PROJ Java/JNI bindings

Last modified 10 years ago Last modified on 09/01/14 08:25:55
Note: See TracWiki for help on using the wiki.