8000 Hardcoded Sun Java Vendor for linux platform · Issue #1 · alminium/angelfalls · GitHub
[go: up one dir, main page]

Skip to content
8000

Hardcoded Sun Java Vendor for linux platform #1

Open

Description

@ruppertus

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.

Activity

  1. ruppertus commented on Jun 7, 2012

    @ruppertus
    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"))){

  2. cyclingzealot commented on Nov 8, 2012

    @cyclingzealot

    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

  3. r-martins commented on Dec 7, 2012

    @r-martins

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0