SourceForge has been redesigned. Learn more.
Close

problem with PCA module running java3d

Help
2009-09-02
2013-05-20
  • Daniel Gonzalez

    Daniel Gonzalez - 2009-09-02

    Hello. I am running mev 4.4.1 on Linux (Ubuntu 9.04) and Java 1.6.0_0. I have installed J3D 1.5.2 (I think so) and I have modified the CLASSPATH, but when I try to perform a PCA analysis, I get a mistake:
    no J3D in java.library.path

    Can anyone help me?. Thank you very much in advance.

    Daniel.

     
    • Eleanor Howe

      Eleanor Howe - 2009-09-02

      Hi Daniel,

      Normally, the location of Java3D would be automatically included in the classpath when you install it. I take it that didn't happen? Can you send me the text that appears in the console when you run MeV? It should give the java versions and other status information for the application.

      Eleanor

       
    • Daniel Gonzalez

      Daniel Gonzalez - 2009-09-02

      Hello Eleanor:

      this is the text in the console:

      MultiExperimentViewer - version 4.4.1 - Linux
      Java Runtime Environment version: 1.6.0_0
      Java Runtime Environment vendor: Sun Microsystems Inc.
      Java Virtual Machine name: OpenJDK Server VM
      Java Virtual Machine version: 14.0-b08
      Java Virtual Machine vendor: Sun Microsystems Inc.
      Java 3D Runtime Environment: Java 3D Core Runtime Environment
      Java 3D Runtime Environment vendor: Sun Microsystems, Inc.
      Java 3D Runtime Environment version:1.2
      Operating System name: Linux
      Operating System version: 2.6.28-15-generic
      Operating System architecture: i386
      MeV Build: 1836
      MeV Revision Date: 2009/06/30 11:18:56
      MeV Branch: https://mev-tm4.svn.sourceforge.net/svnroot/mev-tm4/branches/MeV_4_4

      Daniel.

       
    • Eleanor Howe

      Eleanor Howe - 2009-09-03

      Hi Daniel,

      From the information here on the console, you definitely have Java3D installed, but the version MeV can find is v1.2, and that is too old for MeV to use. So the trick now is to find wherever your computer is pointing to J3D v1.2 and change it to the new location where v1.5.1 lives. Is there perhaps another entry in your classpath?

      Eleanor

       
    • Daniel Gonzalez

      Daniel Gonzalez - 2009-09-04

      Dear Eleanor:

      I have erased all installed java 3d and I have reinstalled it again, but this time I have followed instructions from this forum:

      http://www.ubuntu-es.org/index.php?q=node/55414

      I am sorry because it is in Spanish, but commands can be read. Now it works. The difference has been sudo update-alternatives --config java, to choose default java machine. The problem may be was that I have java jdk (I don't know why, because I don't remember). I don't know the reason but now it works and I can run PCA. In the console output it detects java 3d 1.5, as you can see:

      Java Runtime Environment version: 1.6.0_14
      Java Runtime Environment vendor: Sun Microsystems Inc.
      Java Virtual Machine name: Java HotSpot(TM) Server VM
      Java Virtual Machine version: 14.0-b16
      Java Virtual Machine vendor: Sun Microsystems Inc.
      Java 3D Runtime Environment: 3D Graphics API for the Java Platform
      Java 3D Runtime Environment vendor:
      Java 3D Runtime Environment version:1.5.2
      Operating System name: Linux
      Operating System version: 2.6.28-15-generic
      Operating System architecture: i386
      MeV Build: 1836
      MeV Revision Date: 2009/06/30 11:18:56
      MeV Branch: https://mev-tm4.svn.sourceforge.net/svnroot/mev-tm4/branches/MeV_4_4

      Curiously, jar 3d files 1.2 version are in /lib directory of Mev files. If 1.2 version is too old for Mev version, I don't know why they are in Mev files.

      In any case, your comments have been very useful to help me. Thank you very much.

       
    • Daniel Gonzalez

      Daniel Gonzalez - 2009-09-04

      Daniel.

       
    • Eleanor Howe

      Eleanor Howe - 2009-09-04

      Hi Daniel,

      Thank you for letting us know how you solved the problem. I'm glad it's working now.

      Good point about the outdated jarfiles in our distribution. I'll look into either updating or eliminating them, as they're obviously not doing any good. Thanks for pointing that out.

      Eleanor

       

Log in to post a comment.