5 Replies Latest reply on Dec 5, 2007 10:13 AM by peterfrazier

    flexbuilder on gentoo

    kaydara
      Im having some troubles installing flexbuilder on gentoo, always get this:

      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.


      i have searched a lot and still nothing.
      Some things about the system:
      kay data # java-config -L
      The following VMs are available for generation-2:
      1) Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2]
      2) Sun JDK 1.4.2.16 [sun-jdk-1.4]
      *) Sun JDK 1.6.0.03 [sun-jdk-1.6]
      4) Sun JRE 1.6.0.02 [sun-jre-bin-1.6]

      kay data # echo $JAVA_HOME
      /etc/java-config-2/current-system-vm:/opt/sun-jdk-1.6.0.03/bin/java
      kay data # echo $PATH
      /sbin:/bin:/usr/sbin:/usr/bin:/usr/share/java-config-2/vm/sun-jdk-1.6:/usr/lib/jvm/sun-jdk -1.6:/usr/bin/java:/opt/sun-jdk-1.6.0.03/bin/java


      Can anyone help me ? thanks
        • 1. Re: flexbuilder on gentoo
          camfieldaj Level 1
          So far, I've tried installing this on OpenSuse 10.2, an opensource version of RHEL and Ubuntu 7.04. The easiest was Ubuntu which was a fresh install on a VMWare session. Even there I had to blow away the gnu version of java(gij) as a first step. Then install Sun java 1.4.2; install eclipse and then install FB for Linux from sudo. I've been told by several people that you don't have to be root to install, but my experience on three different distros doesn't support that. Also, I think that 1.4 and 1.5 are mentioned as supported jre's, so that may be an issue.
          • 2. Re: flexbuilder on gentoo
            Level 7
            kaydara wrote:
            > Im having some troubles installing flexbuilder on gentoo, always get this:
            >
            > 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.
            >
            >
            > i have searched a lot and still nothing.
            > Some things about the system:
            > kay data # java-config -L
            > The following VMs are available for generation-2:
            > 1) Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2]
            > 2) Sun JDK 1.4.2.16 [sun-jdk-1.4]
            > *) Sun JDK 1.6.0.03 [sun-jdk-1.6]
            > 4) Sun JRE 1.6.0.02 [sun-jre-bin-1.6]
            >
            > kay data # echo $JAVA_HOME
            > /etc/java-config-2/current-system-vm:/opt/sun-jdk-1.6.0.03/bin/java
            > kay data # echo $PATH
            >
            > /sbin:/bin:/usr/sbin:/usr/bin:/usr/share/java-config-2/vm/sun-jdk-1.6:/usr/lib/j
            > vm/sun-jdk-1.6:/usr/bin/java:/opt/sun-jdk-1.6.0.03/bin/java
            >
            >
            > Can anyone help me ? thanks
            >
            >
            Can you look at the installation steps here as is and try it...
            http://codetouch.blogspot.com/2007/10/installing-flex-builder-linux-alpha.html
            Yes, not all of the combinations of JREs are supported as yet.. please
            look at the system requirements section of the release notes for any help.

            If you face a specific problem because of a particular combination,
            please feel free to log a bug in our public bug base
            http://bugs.adobe.com/jira (Flex Builder Linux)...
            • 3. Re: flexbuilder on gentoo
              Level 7
              kaydara wrote:
              > Im having some troubles installing flexbuilder on gentoo, always get this:
              >
              > 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.
              >
              >
              > i have searched a lot and still nothing.
              > Some things about the system:
              > kay data # java-config -L
              > The following VMs are available for generation-2:
              > 1) Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2]
              > 2) Sun JDK 1.4.2.16 [sun-jdk-1.4]
              > *) Sun JDK 1.6.0.03 [sun-jdk-1.6]
              > 4) Sun JRE 1.6.0.02 [sun-jre-bin-1.6]
              >
              > kay data # echo $JAVA_HOME
              > /etc/java-config-2/current-system-vm:/opt/sun-jdk-1.6.0.03/bin/java
              > kay data # echo $PATH
              >
              > /sbin:/bin:/usr/sbin:/usr/bin:/usr/share/java-config-2/vm/sun-jdk-1.6:/usr/lib/j
              > vm/sun-jdk-1.6:/usr/bin/java:/opt/sun-jdk-1.6.0.03/bin/java
              >
              >
              > Can anyone help me ? thanks
              >
              >
              Can you try to set your path to SUN JRE 1.6 in the beginning of the path..
              example: set PATH=/opt/sun-jdk-1.6.0.03/bin:$PATH

              and try again?? I dont know if you have to give path till "/bin/java" !!
              • 4. Re: flexbuilder on gentoo
                adaptardar
                The run-java-tool is causing problems. Run this:

                actvm="/opt/sun-jdk-1.5.0.12/bin/java" ./flexbuilder_linux_install_a1_100207.bin

                and change the path to your JVM binary (you'd have to be in the folder containing the flex builder binary).

                • 5. Re: flexbuilder on gentoo
                  peterfrazier
                  First off: THANK YOU FOR RELEASING flexbuilder for no cost. It seems like adobe is starting to get the big picture.

                  Just to state the obvious I'm trying to isntall into a gentoo-linux based system (x86_64) with 32 bit eclipse, jre1.5.xxx and the specified flexbuilder. All of my ENV vars are legit.

                  actvm="/opt/sun-jdk-1.5.0.12/bin/java" ./flexbuilder_linux_install_a1_100207.bin

                  didn't do the trick. As a side note; the sanity checking found in the self extracting bash script is a joke (ie. $RESREALSIZE); in fact, the entire script is a joke. If you extract to a reiserfs (mounted with tail) then the size obviously changes (usually shrinks) and so the script bails saying "file corrupted or whatever... " InstallAnywhere is garbage. According to their website their product is greate for several reasons:
                  -"Reduce software development time"
                  -"Impress end users with customized installations"
                  My rebuttal to those claims is:
                  -"Reduce software development time, and increase end-user dissatisfaction"
                  -"Unix users expect total control over all aspects of installation; they require full transparency as to the consequences of a script
                  execution; they will dislike anything that obfuscates the installation proceedure"

                  So how do I get flexbuilder up and running on gentoo-linux (see error below)?

                  ERROR:

                  Launching installer...

                  Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX