or try install java is place other than "program files" , use a directory with less characters, like c:\program\java
On Sat, May 24, 2008 at 11:14 PM, Eason. Lee <[EMAIL PROTECTED]> wrote: > maybe u should try JDK not just JRE , just a guess~~ > > 2008/5/24 vatsan <[EMAIL PROTECTED]>: > >> >> Thank you for your response, that was a clever trick indeed, but I still >> seem >> to be getting the same error >> >> "/bin/java: No such file or directory line 159: >> /cygdrive/c/Progra~1/Java/jre1.6.0_06" >> >> This happens when i try to run "./start-all.sh" >> >> Should the JAVA_HOME be pointing to the "bin" folder in my Java directory? >> >> This was what I have done >> >> in Cygwin.bat : >> >> SET JAVA_HOME=/cygdrive/c/Progra~1/Java/jr1.6.0_06/ >> >> in hadoop-conf.sh: >> >> export JAVA_HOME=$JAVA_HOME >> >> >> Is this correct? >> >> Thank you, >> vatsan. >> >> PS: doing "cd $JAVA_HOME" works fine though (which means ur solution does >> resolve the path issue in some way but doesn't solve my problem >> altogether). >> >> >> >> >> s29752-hadoopuser wrote: >> > >> > The following works for me >> > set JAVA_HOME=/cygdrive/c/Progra~1/Java/jdk1.5.0_14 >> > >> > Nicholas >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Re%3A-JAVA_HOME-Cygwin-problem-%28solution-doesn%27t-work%29-tp17443224p17443488.html >> Sent from the Hadoop core-user mailing list archive at Nabble.com. >> >> >
