Opened 2 years ago

Closed 2 years ago

#2351 closed task (fixed)

openJUMP 2.0 install

Reported by: darkblueb Owned by: osgeolive@…
Priority: normal Milestone: OSGeoLive15.0
Component: OSGeoLive Keywords: openjump, java
Cc:

Description

new openJUMP 2.0

Attachments (1)

oj2_build.txt (11.5 KB ) - added by darkblueb 2 years ago.
first pass install

Download all attachments as: .zip

Change History (11)

by darkblueb, 2 years ago

Attachment: oj2_build.txt added

first pass install

comment:1 by edso, 2 years ago

was planning to update our OSGeoLive config

https://sourceforge.net/projects/jump-pilot/files/OpenJUMP/osgeo/osgeo.conf

when the first alpha ISO wil be released. can do so now if needed.

please do not modify the 'install_openjump.sh' and pin the version there as to keep it possible to upgrade without access to OSGeoLive repo.

..ede/OJ

comment:2 by edso, 2 years ago

also, please note, just checked.

standard OJ contains ECW-binaries with a special, that pose restrictions on distributing them. that's why we create _fully free_ osgeo-versions of OJ, placed in ​https://sourceforge.net/projects/jump-pilot/files/OpenJUMP/osgeo/ .

comment:3 by edso, 2 years ago

Resolution: fixed
Status: newclosed

files on https://sourceforge.net/projects/jump-pilot/files/OpenJUMP/osgeo/ are updated as of now.

bin/install_openjump.sh using the conf file from above should install latest OJ2 now, cleaned for OSGeo of non properly OSS licensed files.

Last edited 2 years ago by edso (previous) (diff)

comment:4 by darkblueb, 2 years ago

Java Version:	OpenJDK 64-Bit Server VM 1.8.0_312 (amd64)
OS:	Linux (5.15.0-25-generic)
Maximum memory:	1,830,813,695 bytes (1.7 GiB)
Total Memory:	419,430,400 bytes (400.0 MiB)
Committed Memory:	142,429,296 bytes (135.8 MiB)
Working Directory:	/usr/lib/OpenJUMP-2.0

comment:5 by darkblueb, 2 years ago

openjump LD_LIBRARY_PATH mismatch

user@ol15nightly:~$ openjump basic_osm.jmp 
---JUMP_HOME---
/usr/lib/OpenJUMP-2.0
---JAVA---
Using 'java' found in '/usr/lib/jvm/java-8-openjdk-amd64/jre/bin'
openjdk version "1.8.0_312"; OpenJDK Runtime Environment (build 1.8.0_312-8u312-b07-0ubuntu1-b07); OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode); 
---GDAL_DATA---
/usr/share/gdal/
---LD_LIBRARY_PATH---
./lib/native/gdal-linux-x64:./lib/native/gdal-linux-x64/lib:./lib/native/gdal-linux-x64/java:./lib/native/x64:./lib/native:./lib/ext:/usr/lib/jni:
---PATH---
./lib/native:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
---CLASSPATH---
./lib/native/gdal-linux-x64/java/gdal.jar:/usr/share/java/gdal.jar:.:./bin:./lib/native/jecw-0.0.7.jar:./lib/native/x64/*.jar:./lib/xz-1.9.jar:./lib/xml-apis-1.4.01.jar:./lib/xercesImpl-2.12.1.jar:./lib/slf4j-api-1.7.25.jar:./lib/org-netbeans-swing-outline-7.2.jar:./lib/log4j-1.2.17.jar:./lib/jython-2.2.1.jar:./lib/jts-io-common-1.18.2.jar:./lib/jts-core-1.18.2.jar:./lib/json-simple-1.1.1.jar:./lib/jdom2-2.0.6.jar:./lib/jama-1.0.3.jar:./lib/jai_imageio-1.1.jar:./lib/jai_core-1.1.3.jar:./lib/jai_codec-1.1.3.jar:./lib/jai-imageio-core-1.4.0.jar:./lib/cts-1.5.2.jar:./lib/commons-logging-1.2.jar:./lib/commons-lang3-3.12.0.jar:./lib/commons-io-2.11.0.jar:./lib/commons-imaging-1.0-alpha2.jar:./lib/commons-compress-1.21.jar:./lib/commons-codec-1.15.jar:./lib/buoy-1.9.jar:./lib/bsh-2.0b6.jar:./lib/batik-xml-1.6-1.jar:./lib/batik-util-1.6-1.jar:./lib/batik-transcoder-1.6-1.jar:./lib/batik-svggen-1.6-1.jar:./lib/batik-svg-dom-1.6-1.jar:./lib/batik-dom-1.6-1.jar:./lib/batik-awt-util-1.6-1.jar:./lib/OpenJUMP-2.0-r5095[a56ff6d]-nosrc.jar:./lib/JMathPlot-1.0.1.jar:./lib/JMathIO-1.0.jar:./lib/JMathArray-1.0.jar:./lib/*.zip:
---Save logs & state to---
/home/user/.openjump/
---Detect maximum memory limit---
set max. memory limit to 6830 MiB
---Start OJ---
press Enter to finish

build filesystem alpha1

user@ol15nightly:~$ locate jni
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-kakadujni-5.2.6.jar
/usr/lib/OpenJUMP-2.0/lib/native/x86/._libjecw.jnilib
/usr/lib/OpenJUMP-2.0/lib/native/x86/libjecw.jnilib
/usr/lib/jvm/java-8-openjdk-amd64/include/jni.h
/usr/lib/jvm/java-8-openjdk-amd64/include/linux/jni_md.h
/usr/lib/x86_64-linux-gnu/jni
/usr/lib/x86_64-linux-gnu/jni/libatk-wrapper.so
/usr/lib/x86_64-linux-gnu/jni/libavplugin.so
/usr/lib/x86_64-linux-gnu/jni/libdecora_sse.so
/usr/lib/x86_64-linux-gnu/jni/libfxplugins.so
/usr/lib/x86_64-linux-gnu/jni/libglass.so
 ...

notice the lib/native/x86/ in installed files, but ./lib/native/x64/ in the path.

user@ol15nightly:~$ locate gdal.jar
  (empty result)

user@ol15nightly:~$ locate gdal-linux-x64
 (empty result)

user@ol15nightly:~$ locate jar | grep jar$ | grep gdal
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/gdal-2.2.0.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalarcbinarygrid-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalarcgrid-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalbsb-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdaldoq1-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdaldoq2-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdaldted-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalecw-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalehdr-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalenvihdr-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalenvisat-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalerdasimg-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalframework-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalgeotiff-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalidrisi-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdaljpeg-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalkakadujp2-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalmrsid-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalmrsidjp2-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalnitf-1.3.11.jar
/usr/lib/OpenJUMP-2.0/lib/ext/imageio-ext/imageio-ext-gdalvrt-1.3.11.jar

user@ol15nightly:~$ ls -lh /usr/lib/OpenJUMP-2.0/lib/native/*
-rw-r--r-- 1 root root  481 Mar 15  2021 /usr/lib/OpenJUMP-2.0/lib/native/ECW,JP2_support.txt
-rw-r--r-- 1 root root  23K Mar  1 17:06 /usr/lib/OpenJUMP-2.0/lib/native/jecw-0.0.7.jar
-rw-r--r-- 1 root root 1.9K Mar 15  2021 /usr/lib/OpenJUMP-2.0/lib/native/readme.txt

/usr/lib/OpenJUMP-2.0/lib/native/x64:
total 4.4M
-rw-r--r-- 1 root root 939K Mar 15  2021 ecw-linux-x64-20131231.tgz
-rwxr-xr-x 1 user user  31K Dec 30  2013 libjecw2.0.0.so*
lrwxrwxrwx 1 user user   15 Dec 30  2013 libjecw.so -> libjecw2.0.0.so*
lrwxrwxrwx 1 user user   15 Dec 30  2013 libjecw.so.0 -> libjecw2.0.0.so*
lrwxrwxrwx 1 user user   19 Dec 30  2013 libNCSCnet.so -> libNCSCnet.so.0.0.0*
lrwxrwxrwx 1 user user   19 Dec 30  2013 libNCSCnet.so.0 -> libNCSCnet.so.0.0.0*
-rwxr-xr-x 1 user user 143K Dec 30  2013 libNCSCnet.so.0.0.0*
lrwxrwxrwx 1 user user   19 Dec 30  2013 libNCSEcwC.so -> libNCSEcwC.so.0.0.0*
lrwxrwxrwx 1 user user   19 Dec 30  2013 libNCSEcwC.so.0 -> libNCSEcwC.so.0.0.0*
-rwxr-xr-x 1 user user  23K Dec 30  2013 libNCSEcwC.so.0.0.0*
lrwxrwxrwx 1 user user   18 Dec 30  2013 libNCSEcw.so -> libNCSEcw.so.0.0.0*
lrwxrwxrwx 1 user user   18 Dec 30  2013 libNCSEcw.so.0 -> libNCSEcw.so.0.0.0*
-rwxr-xr-x 1 user user 3.1M Dec 30  2013 libNCSEcw.so.0.0.0*
lrwxrwxrwx 1 user user   19 Dec 30  2013 libNCSUtil.so -> libNCSUtil.so.0.0.0*
lrwxrwxrwx 1 user user   19 Dec 30  2013 libNCSUtil.so.0 -> libNCSUtil.so.0.0.0*
-rwxr-xr-x 1 user user 229K Dec 30  2013 libNCSUtil.so.0.0.0*

/usr/lib/OpenJUMP-2.0/lib/native/x86:
total 9.1M
-rw-r--r-- 1 root root  770K Mar 15  2021 ecw-gvsigce1.0pre-osx32.tgz
-rw-r--r-- 1 root root  927K Mar 15  2021 ecw-linux-x86-20131231.tgz
-rw-r--r-- 1 root root   20K Mar 15  2021 jecw.dll
-rwxr-xr-x 1 user user   30K Dec 30  2013 libjecw2.0.0.so*
-rwxr-xr-x 1  501 staff  38K Apr 16  2010 libjecw.jnilib*
lrwxrwxrwx 1 user user    15 Dec 30  2013 libjecw.so -> libjecw2.0.0.so*
lrwxrwxrwx 1 user user    15 Dec 30  2013 libjecw.so.0 -> libjecw2.0.0.so*
lrwxrwxrwx 1  501 staff   16 Nov 26  2012 libNCSCnet.0.0.0.dylib -> libNCSCnet.dylib*
lrwxrwxrwx 1  501 staff   16 Nov 26  2012 libNCSCnet.0.dylib -> libNCSCnet.dylib*
-rwxr-xr-x 1  501 staff 133K Apr 16  2010 libNCSCnet.dylib*
lrwxrwxrwx 1 user user    19 Dec 30  2013 libNCSCnet.so -> libNCSCnet.so.0.0.0*
lrwxrwxrwx 1 user user    19 Dec 30  2013 libNCSCnet.so.0 -> libNCSCnet.so.0.0.0*
-rwxr-xr-x 1 user user  125K Dec 30  2013 libNCSCnet.so.0.0.0*
lrwxrwxrwx 1  501 staff   15 Nov 26  2012 libNCSEcw.0.0.0.dylib -> libNCSEcw.dylib*
lrwxrwxrwx 1  501 staff   15 Nov 26  2012 libNCSEcw.0.dylib -> libNCSEcw.dylib*
lrwxrwxrwx 1  501 staff   16 Nov 26  2012 libNCSEcwC.0.0.0.dylib -> libNCSEcwC.dylib*
lrwxrwxrwx 1  501 staff   16 Nov 26  2012 libNCSEcwC.0.dylib -> libNCSEcwC.dylib*
-rwxr-xr-x 1  501 staff  22K Apr 16  2010 libNCSEcwC.dylib*
lrwxrwxrwx 1 user user    19 Dec 30  2013 libNCSEcwC.so -> libNCSEcwC.so.0.0.0*
lrwxrwxrwx 1 user user    19 Dec 30  2013 libNCSEcwC.so.0 -> libNCSEcwC.so.0.0.0*
-rwxr-xr-x 1 user user   18K Dec 30  2013 libNCSEcwC.so.0.0.0*
-rwxr-xr-x 1  501 staff 2.5M Apr 16  2010 libNCSEcw.dylib*
lrwxrwxrwx 1 user user    18 Dec 30  2013 libNCSEcw.so -> libNCSEcw.so.0.0.0*
lrwxrwxrwx 1 user user    18 Dec 30  2013 libNCSEcw.so.0 -> libNCSEcw.so.0.0.0*
-rwxr-xr-x 1 user user  2.7M Dec 30  2013 libNCSEcw.so.0.0.0*
lrwxrwxrwx 1  501 staff   16 Nov 26  2012 libNCSUtil.0.0.0.dylib -> libNCSUtil.dylib*
lrwxrwxrwx 1  501 staff   16 Nov 26  2012 libNCSUtil.0.dylib -> libNCSUtil.dylib*
-rwxr-xr-x 1  501 staff 191K Apr 16  2010 libNCSUtil.dylib*
lrwxrwxrwx 1 user user    19 Dec 30  2013 libNCSUtil.so -> libNCSUtil.so.0.0.0*
lrwxrwxrwx 1 user user    19 Dec 30  2013 libNCSUtil.so.0 -> libNCSUtil.so.0.0.0*
-rwxr-xr-x 1 user user  195K Dec 30  2013 libNCSUtil.so.0.0.0*
-rw-r--r-- 1 root root   49K Mar 15  2021 NCScnet.dll
-rw-r--r-- 1 root root   29K Mar 15  2021 NCSEcwC.dll
-rw-r--r-- 1 root root  1.3M Mar 15  2021 NCSEcw.dll
-rw-r--r-- 1 root root  126K Mar 15  2021 NCSUtil.dll

/usr/lib/OpenJUMP-2.0/lib/native/xp-x86:
total 1.3M
-rw-r--r-- 1 root root    0 Mar 15  2021 ecw-gvsig_1.09.txt
-rw-r--r-- 1 root root  24K Mar 15  2021 jecw.dll
-rw-r--r-- 1 root root  57K Mar 15  2021 NCScnet.dll
-rw-r--r-- 1 root root  69K Mar 15  2021 NCSEcwC.dll
-rw-r--r-- 1 root root 1.1M Mar 15  2021 NCSEcw.dll
-rw-r--r-- 1 root root 133K Mar 15  2021 NCSUtil.dll

Last edited 2 years ago by darkblueb (previous) (diff)

comment:6 by edso, 2 years ago

hey @darkblueb,

something is wrong in your image!

running 'osgeolive-15.0alpha1-amd64.iso' on my end '/usr/lib/OpenJUMP-2.0/lib/native' looks like

 user@osgeolive:~$ ls -la /usr/lib/OpenJUMP-2.0/lib/native/*
-rw-r--r-- 1 root root  481 Mar 15  2021 /usr/lib/OpenJUMP-2.0/lib/native/ECW,JP2_support.txt
-rw-r--r-- 1 root root 1921 Mar 15  2021 /usr/lib/OpenJUMP-2.0/lib/native/readme.txt

/usr/lib/OpenJUMP-2.0/lib/native/x64:
total 0
drwxr-xr-x 2 root root  3 Mar  1 17:05 ./
drwxr-xr-x 5 root root 96 Mar  1 17:05 ../

/usr/lib/OpenJUMP-2.0/lib/native/x86:
total 0
drwxr-xr-x 2 root root  3 Mar  1 17:05 ./
drwxr-xr-x 5 root root 96 Mar  1 17:05 ../

/usr/lib/OpenJUMP-2.0/lib/native/xp-x86:
total 0
drwxr-xr-x 2 root root  3 Mar  1 17:05 ./
drwxr-xr-x 5 root root 96 Mar  1 17:05 ../

the files you list above were the ones removed because of ECW license issues.

also:

what exactly is supposed to be the error? what is not working?

..ede

comment:8 by darkblueb, 2 years ago

Resolution: fixed
Status: closedreopened

comment:10 by kalxas, 2 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.