4 Replies Latest reply on Jan 1, 2008 10:32 PM by Newsgroup_User

    Flex Builder for Linux install error

    nobu@fxug
      Hi.

      An error occurs at the time of Flex Builder for Linux installation.

      =======================================================
      nobu@nobu-mob:~/downloads/adobe/flex3> sh flexbuilder_linux_install_a2_121807.bin
      Preparing to install...
      Extracting the installation resources from the installer archive...
      Configuring the installer for this system's environment...

      Launching installer...

      Exception in thread "main" Exception while printStackTrace(): java.lang.NoClassDefFoundError: java/lang/System
      =======================================================

      Why is it?


      ■Environment
      ・Linux
      openSUSE 10.3

      ・Java
      nobu@nobu-mob:~/downloads/adobe/flex3> java -version
      java version "1.5.0_12"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
      Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)

      ・JAVA_HOME
      JAVA_BINDIR=/home/nobu/application/java/bin
      JAVA_HOME=/home/nobu/application/java
      JAVA_ROOT=/home/nobu/application/java

      ・CLASSPATH
      CLASSPATH=.:/home/nobu/application/java/jre/lib:/home/nobu/application/java/lib:/home/nobu /application/java/lib/tools.jar:/home/nobu/application/tomcat/common/lib:/home/nobu/applic ation/tomcat/common/lib/servlet-api.jar
        • 1. Re: Flex Builder for Linux install error
          nobu@fxug Level 1
          Hi
          It was a setting error of CLASSPATH.

          Thank you for all
          • 2. Re: Flex Builder for Linux install error
            Ricksmth51
            I'm also getting a class not found exception. The part of the output is
            Caused by: java.lang.ClassNotFoundException: com.apple.mrj.MRJOSType not found in [file:/tmp/install.dir.29782/InstallerData/, file:/tmp/install.dir.29782/InstallerData/installer.zip.

            I'm puzzled by the path it's looking in which I would think would be for OS/X not Linux. Does this class belong in the build? TIA.
            • 3. Re: Flex Builder for Linux install error
              felix.rivas Level 1
              hi daring me this error installation, Ubuntu 7.10:

              "Preparing to install...
              Extracting the installation resources from the installer archive...
              Configuring the installer for this system's environment...
              No Java virtual machine could be found from your PATH
              environment variable. You must install a VM prior to
              running this program."
              • 4. Re: Flex Builder for Linux install error
                Level 7
                Ricksmth51 wrote:
                > I'm also getting a class not found exception. The part of the output is
                > Caused by: java.lang.ClassNotFoundException: com.apple.mrj.MRJOSType not found
                > in [file:/tmp/install.dir.29782/InstallerData/,
                > file:/tmp/install.dir.29782/InstallerData/installer.zip.
                >
                > I'm puzzled by the path it's looking in which I would think would be for OS/X
                > not Linux. Does this class belong in the build? TIA.
                >
                >
                Your path has to be set properly...

                Install SUN JRE ...Set the path and launch the installer..

                $>export PATH=$HOME/j2sdk1.5.xx/bin:$PATH
                $>sh Adobe_Flex_Builder.bin