Free PDF Reader
Powered by :-(a very old version of) Gnostice PDFOne (for Java)
Compatibility
Windows Linux Mac

How To Install Free PDF Reader In Linux

Using Ubuntu as the example, this article shows you how to install and use Free PDF Reader in GNU/Linux.
By V. Subhash

Gnostice Free PDF Reader is a free utility for viewing, printing, and converting PDF documents. As it is a Java application, the same Free PDF Reader executable can work on Windows, Linux and Mac (OS X) computer. In this article, you will learn how to install Free PDF Reader in Linux. (I have used Ubuntu 10.10 for this tutorial.)

Install Oracle Java Runtime Environment (JRE)

Your Linux OS needs to have Oracle Java installed for Free PDF Reader to work. To check if you Oracle Java installed, type the following command in Terminal.

java -version

There can be three kinds of output for this command.

  1. If the output indicates that Java is installed and contains the words "Java HotSpot", then it means you have Oracle Java. Your existing Java installation will do fine for running Free PDF Reader.
  2. If the output indicates that Java is installed but does not contain the words "Java HotSpot", then you have some other Java (such as OpenJDK identified by the word "IcedTea"). In this case, you can install Oracle Java side-by-side without disturbing your existing Java installation.
  3. If the command is not recognized, it means you do not have Java installed. You need to install Oracle Java and make it your default Java installation.

You can get Oracle Java from the Java.net website at http://www.java.com/en/download/manual.jsp.

If you choose an RPM download (suitable for Red Hat, Fedora, SUSE, Mandrake and other RPM-based distros) and execute it, it will overwrite any existing Java installation.

If you would like to use Oracle Java side-by-side without disturbing your existing Java installation, then choose one of the other "tar.gz" downloads.

In Terminal, type the following command to open Nautilus with root privileges. (Nautilus is the default file manager in Ubuntu Gnome. If you are not using using some other desktop, launch its default file manager with default privileges.

gksu nautilus /opt
  1. Create a folder named oracle-jre and navigate into it.
  2. Copy the downloaded "tar.gz" archive file into this directory.
  3. Select the "tar.gz" archive, right-click it and choose to extract its contents. This will create a directory at the location /opt/oracle-jre/jre.XXXXX, where XXXXX will vary according to the version of the JRE that you have downloaded.

Now, test the Java installation using the following command:

/opt/oracle-jre/jreXXXXX/bin/java -version

If you did not have any Java installation prior to this, then you can make this new Java installation available system-wide by typing the following command.

sudo ln -s /opt/oracle-jre/jreXXXXX/bin/java /usr/bin/java

This will create a link in the usr/bin directory for your Java executable. You will then be able to access the Java executable without having to use the full path to the /opt/oracle-jre/jreXXXXX/bin/. For example, the java -version would start working.

If you already have some other Java installation and wish to keep the Oracle Java installation side-by-side, then do not run the sudo ln command. Always, use the full /opt/oracle-jre/jreXXXXX/bin/java pathname to access the Oracle Java executable.

Install Free PDF Reader

Get Free PDF Reader download file to your desktop. Extract the contents of the zip file to your "home" directory. This will create a directory named freepdfreader. In this directory, you will find a file named FreePDFReader.jar. This is the main executable of Free PDF Reader. Now, you can test the Free PDF Reader installation. (Replace "[HOME]" with your "home" directory name.)

java -jar /home/[HOME-DIR]/freepdfreader/FreePDFReader.jar

If you are using Oracle Java side-by-side, then you should have used the full path to the Java executable, not the previous command.

/opt/oracle-jre/jreXXXXX/bin/java -jar /home/[HOME-DIR]/freepdfreader/FreePDFReader.jar

If a Free PDF Reader window launches, then your installation is fine.

You can now create a launcher (program shortcut) with the above command for Free PDF Reader. Please set a nice icon for the launcher, possibly from /usr/share/icons.

Optimize For Heavy Loads

Java applications are expected to have a very low memory footprint. This can cause Free PDF Reader to fail when loading huge PDF documents. To enable Free PDF Reader to load big PDF files, you need to add two extra parameters to the java command - to increase the minimum and maximum heap size allocated to the Java Virtual Machine.

java -jar -Xms32m -Xmx128m ~/freepdfreader/FreePDFReader.jar

---o0O0o---

Our .NET Developer Tools
XtremeDocumentStudio .NET

Multi-format document-processing component suite for .NET developers.

PDFOne .NET

A .NET PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, and bookmark PDF documents in .NET applications.

Our Delphi/C++Builder developer tools
XtremeDocumentStudio Delphi

Multi-format document-processing component suite for Delphi/C++Builder developers, covering both VCL and FireMonkey platforms.

eDocEngine VCL

A Delphi/C++Builder component suite for creating documents in over 20 formats and also export reports from popular Delphi reporting tools.

PDFtoolkit VCL

A Delphi/C++Builder component suite to edit, enhance, view, print, merge, split, encrypt, annotate, and bookmark PDF documents.

Our Java developer tools
XtremeDocumentStudio (for Java)

Multi-format document-processing component suite for Java developers.

PDFOne (for Java)

A Java PDF component suite to create, edit, view, print, reorganize, encrypt, annotate, bookmark PDF documents in Java applications.

Our Platform-Agnostic Cloud and On-Premises APIs
StarDocs

Cloud-hosted and On-Premises REST-based document-processing and document-viewing APIs

Privacy | Legal | Feedback | Newsletter | Blog | Resellers © 2002-2017 Gnostice Information Technologies Private Limited. All rights reserved.