Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • lupid
    Member
    • Mar 2015
    • 54

    JAVA in mac

    Hi to all, I want to run trinity in the iMAC of my work, it has 10.7 Lion, and I had downloaded thousands of times java from the oracle page, but this is still the answer of trinity, please, help me

    Code:
    ./runMe.sh #!/bin/bash -ve
    
    
    if [ -e reads.right.fq.gz ] && [ ! -e reads.right.fq ]; then
        gunzip -c reads.right.fq.gz > reads.right.fq
    fi
    
    if [ -e reads.left.fq.gz ] && [ ! -e reads.left.fq ]; then
        gunzip -c reads.left.fq.gz > reads.left.fq
    fi
    
    if [ -e reads2.right.fq.gz ] && [ ! -e reads2.right.fq ]; then
        gunzip -c reads2.right.fq.gz > reads2.right.fq
    fi
    
    if [ -e reads2.left.fq.gz ] && [ ! -e reads2.left.fq ]; then
        gunzip -c reads2.left.fq.gz > reads2.left.fq
    fi
    
    
    
    #######################################################
    ##  Run Trinity to Generate Transcriptome Assemblies ##
    #######################################################
    
    ../../Trinity --seqType fq --max_memory 2G --left reads.left.fq.gz,reads2.left.fq.gz --right reads.right.fq.gz,reads2.right.fq.gz --SS_lib_type RF --CPU 4
    Use of uninitialized value $java_version in pattern match (m//) at ../../Trinity line 818.
    
    
    
    ********************************************************************
    ** Warning, Trinity cannot determine which version of Java is being used.  Version 1.7 is required. 
    
    Attempting to continue in 30 seconds
    ********************************************************************
    
    
    Trinity version: v2.0.6
    -currently using the latest production release of Trinity.
    
    Error, cannot find 'java'.  Please be sure it is available within your ${PATH} setting and then try again. at ../../Trinity line 2193.
  • Brian Bushnell
    Super Moderator
    • Jan 2014
    • 2709

    #2
    What happens when you type "java --version"?

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      See if the answer in this thread helps: http://stackoverflow.com/questions/2...t-java-version

      Comment

      • lupid
        Member
        • Mar 2015
        • 54

        #4
        Ir say java comand not found

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          You don't have Java installed at all?

          Comment

          • lupid
            Member
            • Mar 2015
            • 54

            #6
            No, evento when I download the dmg, and follow the instructions

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              For 10.7.3 and above, Java 8 from Oracle is supposed to work. Are you at that patch level?
              Last edited by GenoMax; 04-14-2015, 03:48 AM.

              Comment

              • lupid
                Member
                • Mar 2015
                • 54

                #8
                Lion 10.7.5, I download the java8_40

                Comment

                • GenoMax
                  Senior Member
                  • Feb 2008
                  • 7142

                  #9
                  You do have admin rights to install software on this computer?

                  Comment

                  • lupid
                    Member
                    • Mar 2015
                    • 54

                    #10
                    Yes I have

                    Comment

                    • GenoMax
                      Senior Member
                      • Feb 2008
                      • 7142

                      #11
                      Do you get errors or what? Obviously you need to sort out the java problem first (tried to get Java 1.6 from apple?).

                      Before you go much further, what kind of assembly project do you have in mind? Trinity requires significant amount of RAM and if you are running an iMac (with 10.7) that may become a limiting factor.

                      Comment

                      • lupid
                        Member
                        • Mar 2015
                        • 54

                        #12
                        This is what happend when I try to install JAVA and run ./runMe.sh in mac


                        I'm aware of the limiting factor of the ram, but I just need to run 8M fastq and do nothing more in this mac

                        Comment

                        • GenoMax
                          Senior Member
                          • Feb 2008
                          • 7142

                          #13
                          Since you have now installed java (I think that is what the left half of the screenshot says) I will refer you back to posts #2 and 3. Tell us what happens when you try Brian's suggestion in #2 and then try to set the $java_version variable per #3.

                          Comment

                          • lupid
                            Member
                            • Mar 2015
                            • 54

                            #14
                            java -version
                            -bash: java: command not found

                            Comment

                            • lupid
                              Member
                              • Mar 2015
                              • 54

                              #15
                              I have installed Java from this dmg at least 10 times, and also from the version 7 and 6

                              Comment

                              Latest Articles

                              Collapse

                              • SEQadmin2
                                Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by SEQadmin2


                                I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.


                                Here are nine questions we think about, in roughly the order they matter, before...
                                06-18-2026, 07:11 AM
                              • SEQadmin2
                                From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                                by SEQadmin2


                                Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                                The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                                ...
                                06-02-2026, 10:05 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 06-17-2026, 06:09 AM
                              0 responses
                              24 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-09-2026, 11:58 AM
                              0 responses
                              41 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-05-2026, 10:09 AM
                              0 responses
                              48 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-04-2026, 08:59 AM
                              0 responses
                              49 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...