How to: Java; Firefox; Linux Mint|Ubuntu

Installing Java can be a pain on any OS. So, below is my experience getting NEM working in Firefox on Linux Mint, without a browser plugin. This then should work on Ubuntu 14.04 and other similar Linux systems.


#Download java from
The Free Download link will lead to which suggests [Linux filesize: 61.5 MB] and instructions that I used without success.
Download then that jre-8u25-linux-i586.tar.gz to whever you want, open a terminal and change into that directory.

#Install java to /usr/java (or any other place)
mkdir /usr/java
sudo chown $(whoami) /usr/java
mv ./jre-8u25-linux-i586.tar.gz /usr/java
tar zxvf jre-8u25-linux-i586.tar.gz

#Make java visible from /usr/java (or any other place - just change the /usr/java base below)
cd /usr/local/bin
sudo ln -s /usr/java/jre1.8.0_25/bin/java java

#Running NEM in Firefox

Download nis-ncc-0.4.12.tgz or whatever is the latest version now from
Extract from nis-ncc-0.4.12.tgz to wherever you want NEM based.

Then open two terminals for each of

Those terminals then give a sense that something is happening, even if that is simple red peppering of errors of no route to nodes. I guess then useful to keep nodes running and the network strong.

After a while NIS will become available and the NEM client will work by visiting If it's not the first boot, it seems there is a slight delay while it rescans the blockchain it knows. More obvious then is the delay downloading the blockchain it doesn't know.

NIS suggests it is available at but I have no idea what that should suggest. At the moment to me it appears to suggest only a simple JSON error message.


Disclaimer: beyond this above, I know little about how NEM works… and I'm stuck five days behind on block 12961 but that's a whole other problem.

Glad to see some Linux people here!

Congrats on figuring out what to do with that *.tar.gz file, as the official instructions on java site weren't very helpful. I decided not to bother with it and found an automated java installer, which seemed to do the job. Here is my experience:

Regarding NEM client getting stuck at some block, happened once or twice to me as well. I just let it sit there for a few minutes and managed to get through. There were explanations from the devs, that some scripts created bottlenecks at certain points in the blockchain and NEM client had a hard time processing those transactions very quickly.

Hello fellow linux nemer :slight_smile:
Thanks for the info!

I'm also using latest NEM standalone package release on linux but I left the system "original" java 7 on it.
I have installed java 8 (the targ.gz file) in a folder on the system by extracting it
and changed the .sh scripts (start NIS and start NCC) in the NEM package to point into that bin folder where java 8 is located.

So instead having this in the files:
<br />java -cp &quot;...<br />
i have
<br />/path_to_java_8_folder/bin/java -cp &quot;...<br />

I' m starting the NIS and NCC from command line entering this "./" and "./nix.runNcc" but
before i do that I change the dir to  "path to NEM package".

..and changed the .sh scripts (start NIS and start NCC) in the NEM package to point into that bin folder where java 8 is located.

So instead having this in the files:
java -cp "...
i have
/path_to_java_8_folder/bin/java -cp "...

Yes, I did that initially too but fixing those scripts at each update might become a pain.
The [#Make java visible] above, does the same but you only need to set up that java pointer once.
The only downside might be if you really do prefer using java7 for other applications.

Below worked for me, which I used from this site.

LINUX terminal:~$
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer