From: Marcelo L. R. <mar...@xl...> - 2001-05-15 15:48:21
|
Use a the SET command. I modified the build.bat batch file to set it automatically to the path I have on my PC (g:\jdk1.3). It now starts like this. <snip> if not "%JAVA_HOME%" == "" goto gotJavaHome echo You must set JAVA_HOME to point at your Java Development Kit distribution rem Added by me echo Setting java home.... SET JAVA_HOME=G:\jdk1.3 goto gotJavaHome goto cleanup </snip> Hope it helps. Marcelo "Jeff Dodds" <je...@el...> wrote in message news:9dr1bd$pnj$1...@ne...... > > ""Tilo Muetze"" <tm...@iq...> wrote in message > news:9dqs6j$nq9$1...@ne...... > > ""Jeff Dodds"" <je...@el...> schrieb im Newsbeitrag > > news:9dqo1h$mbc$1...@ne...... > > > > All happen inside of build.bat(the needed ant jars are in the lib dir). > > Hi Tilo, > > Do I need to make a lib directory as in c:\lib\ or is that the > jdk1.3\jre\lib\ directory? > > >You just have to set the JAVA_HOME env. variable and that's it. > > How do I set the JAVA_HOME env. variable? Is it a string within the > build.bat file or do I need to set some constant within windows to point to > it? > > Jeff Dodds > > > > _______________________________________________ > Firebird-docs mailing list > Fir...@li... > http://lists.sourceforge.net/lists/listinfo/firebird-docs > |