Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardcoded Sun Java Vendor for linux platform #1

Open
ruppertus opened this issue Jun 6, 2012 · 3 comments
Open

Hardcoded Sun Java Vendor for linux platform #1

ruppertus opened this issue Jun 6, 2012 · 3 comments

Comments

@ruppertus
Copy link

Hi,
When I try to run Angelfalls on my linux platform, I have the following error message:

Your Java vendor is "Oracle Corporation". To run OpenProj, you need the Sun Java implementation.
The auto-detected Java Runtime used is...

The same communicate I got with OpenProj.
Can you please remove the vendor checking since Oracle already bought Sun.

Regards
R.

@ruppertus
Copy link
Author

Just replace 88 line from:
ui/src/main/java/com/projity/pm/graphic/gantt/Main.java
with the following one:
if (javaVendor==null || !(javaVendor.startsWith("Sun")||javaVendor.startsWith("IBM")||javaVendor.startsWith("Oracle"))){

@cyclingzealot
Copy link

If other versions of java are installed on your desktop, you can try

sudo update-alternatives --config java

and then pick /usr/lib/jvm/java-6-openjdk/jre/bin/java

or try installing openjdk.

Julien

@r-martins
Copy link

same problem here. cant fix with the solution above.

sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1051      auto mode
  1            /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java   1051      manual mode
  2            /usr/lib/jvm/java-7-oracle/jre/bin/java          3         manual mode

I've selected the first one as default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants