3

Can anybody give guidance to installing Whitebox GIS software on linux?

I have already:

  1. set up a clean xfce4 machine
  2. installed java 8 successfully
  3. unzipped the latest version of whitebox (Iguazu 3.2.1) to the desktop

Whenever I click on the JAR file or try to run through terminal nothing happens...

Am I missing some key dependencies? Any other suggestions?

thanks

  • This is specifically about Whitebox GIS software and therefore users of the GIS stack exchange are those most likely to experience the same issues. - edited the question to make GIS link more explicit – washways Oct 10 '14 at 15:34
  • 1
    @WhiteboxDev may be able to help here (if it is reopened) or in chat (if it is not) – Erica Oct 10 '14 at 16:06
2

It's been quite some time since I've used Linux, but I seem to recall two general ways of launching Java programs.

  1. It can be launched from the command line as you would on any other system:

java -jar /full-path-to/WhiteboxGIS.jar

  1. Navigate to the Whitebox folder. Right click the WhiteboxGIS.jar and select 'Properties'. Mark the file as executable (i.e. set the executable bit). You may have to associate the jar extension with Java on your system, if it isn't already. After this point, you should be able to launch it by double-clicking WhiteboxGIS.jar as you would normally.

I hope that helps.

  • I was installing on a remote machine with only 512KB RAM. This is why it did not work. Scaled up and everything works perfectly! – washways Oct 11 '14 at 20:12
  • Great, I'm glad to hear it. I haven't heard of a computer with only 512KB (MB?) of RAM in a very, very long time! – WhiteboxDev Oct 12 '14 at 0:32
  • oops. 512Mb. Now I have access to 64Gb.... should be good – washways Oct 12 '14 at 14:43
0

Is this still relevant?

I just had the same problem. Solved it by installing openjdk-jre-8, then running

update-alternatives --config java

which gave me this (yours may be different):

There are 3 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-13-openjdk-amd64/bin/java      1211      auto mode
  1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1111      manual mode
  2            /usr/lib/jvm/java-13-openjdk-amd64/bin/java      1211      manual mode
  3            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manual mode

so now I could cd into my WhiteboxGAT dir and run

/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar WhiteboxGIS.jar

and it worked fine. Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.