inside the mind of a linux admin

OpenProj complains of Oracle as java vendor instead of Sun with latest version

Those of you who use OpenProj for project management on Linux may receive an erroneous error from the software application complaining that your Java vendor is “Oracle” rather than “Sun”.

Obviously, they are one in the same , but the OpenProj software isn’t smart enough to know this (as of the authoring date of this article, version 1.4).

Here’s an easy fix to get around this and trick the application into working with the Oracle java installation.

The error:
[eriks@eclipse: ~/.openproj]$ openproj
Java auto-detection...
Checking java
Java version: 1.7.0_25 OK
Java implementation: OpenJDK NOK, OpenProj requires Sun, IBM or IcedTea implementation

The fix:
After running it for the first time, it will create a directory called .openproj in the home directory of the user you executed openproj as (you can typically access this with ~/.openproj in any version of Linux).

Once you’ve located the .openproj directory, edit the “run.conf” file and change the line:

JAVA_OPTS="-Xms128m -Xmx768m"


JAVA_OPTS="-Xms128m -Xmx768m -Djava.vendor=Sun"

Related Posts

Touchpad stops working after sleep + resume (Fedora 26 on Dell XPS)

After recently upgrading my Dell XPS 13 w/Touchscreen to Fedora 26, the touchpad suddenly stopped working upon resuming from sleep mode. It was reproduced 100% of the time, and required a complete restart in order to get the touchpad working again. There have been several forum posts and bug reports regarding others experiencing these exact […]

Read More

Fun with fsck on Fedora – avoiding mounted partitions and handling LUKS encrypted ones

I run Fedora on a few of my machines, and inevitably over the course of time the filesystem will need to be repaired because of orphaned inodes, wrong free byte counts, etc. Typically when EXT4 errors are detected during boot, Fedora will detect this and offer to drop you into “Emergency mode” or continue. example: […]

Read More

Leave a Reply

Your email address will not be published. Required fields are marked *

Twitter: kireguy

Tweeter button Facebook button Myspace button