Opened 3 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 3 years ago.
first pass install

Download all attachments as: .zip

Change History (11)

by darkblueb, 3 years ago

Attachment: oj2_build.txt added

first pass install

comment:1 by edso, 3 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, 3 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, 3 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 3 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

user@ol15nightly:~$ locate gdal-linux-x64

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

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
 ...

Version 0, edited 2 years ago by darkblueb (next)

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.