Re: [rvm-research] Building jikes-rvm for the first time.
abhay hegde <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <CAHcMQN=2YyPdeJMoM_aqNrNkcTMmrSJPVHuXNSf_iiXuy4dxZA@mail.gmail.com> |
Hi Robin, Thanks for the help. I was able to build it. I had to point to the java installation in /bin/buildtit.base_config in addition to setting the JAVA_HOME and PATH variable. I have opted for the prototype-opt config. I basically intend to play around learn and play around jikes rvm. Is this the right config for it? Regards Abhay On Wed, Jun 26, 2013 at 9:43 AM, Robin Garner <[email protected]>wrote: > Sounds like either > - There isn't a Java VM in /opt/jdk1.7.0_25 > - You don't have execute access to it > > So try: > > ls -l /opt/jdk1.7.0_25 > ls -l /opt/jdk1.7.0_25/bin > > It should look something like > > > $ ls -l /opt/jdk1.7.0/bin/ > > total 668 > > -rwxr-xr-x 1 uucp 143 7981 Apr 4 22:25 appletviewer > > -rwxr-xr-x 1 uucp 143 7957 Apr 4 22:25 apt > > lrwxrwxrwx 1 uucp 143 8 Apr 4 22:26 ControlPanel -> jcontrol > > -rwxr-xr-x 1 uucp 143 7957 Apr 4 22:25 extcheck > > -rwxr-xr-x 1 uucp 143 7989 Apr 4 22:25 idlj > > -rwxr-xr-x 1 uucp 143 7941 Apr 4 22:25 jar > ... > > > Also, your PATH should be $PATH:/opt/jdk1.7.0_25*/bin* > > but only when you've actually got files in the right directory. > > cheers > > On 26/06/13 13:31, abhay hegde wrote: > > Hi all, > > > > I am trying to build for the first time and facing issues regarding > > JAVA_HOME. I am following the steps given in quick start guide > > - http://jikesrvm.org/Quick+Start+Guide > > > > I get a Java path error which says that JAVA_HOME is not defined > > correctly. > > > > *$ bin/buildit h4ck3r prototype-opt* > > ---> Config: prototype-opt > > /bin/bash --login -c '/bin/bash --login -c " cd > > /home/abhay/jikesrvm && export JAVA_HOME=/opt/jdk1.7.0_25 && ant > > very-clean -Dhost.name=ia32-linux && ant check-components-properties > > -Dhost.name=ia32-linux -Dtarget.name=ia32-linux > > -Dcomponents.cache.dir=/home/abhay/.buildit_components_cache && ant > > -Dtarget.name=ia32-linux -Dconfig.name=prototype-opt > > -Dhg.revision=682e77613f2ebd032910260b989820158d4364c4+ > > -Dhost.name=ia32-linux > > -Dcomponents.cache.dir=/home/abhay/.buildit_components_cache "' > > Error: JAVA_HOME is not defined correctly. > > * We cannot execute /opt/jdk1.7.0_25/bin/java* > > Wed Jun 26 08:56:59 IST 2013 > > ===================== Summary ===================== > > Local : /home/abhay/jikesrvm > > Build : h4ck3r:/home/abhay/jikesrvm > > Target : h4ck3r:/home/abhay/jikesrvm > > Start : Wed Jun 26 08:56:59 IST 2013 > > Config : prototype-opt [FAILED Wed Jun 26 08:56:59 IST 2013] > > =================================================== > > > > > > I have set my Java Home variable as follows > > > > export JAVA_HOME=/opt/jdk1.7.0_25 > > export PATH=$PATH:/opt/jdk1.7.0_25 > > > > > > Can you please help me with this.? > > > > Thanks > > Abhay > > > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Windows: > > > > Build for Windows Store. > > > > http://p.sf.net/sfu/windows-dev2dev > > > > > > _______________________________________________ > > Jikesrvm-researchers mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Jikesrvm-researchers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers