Показать сообщение отдельно
Непрочитано 03.09.2010, 12:53   #8
Аватар для [Red Dragon]
Пользователь

По умолчанию Re: Компиляция ява сборок с помощью Ant

Код:
init:
    [mkdir] Created dir: C:\trunk\Community\build
    [mkdir] Created dir: C:\trunk\Community\build\classes
    [mkdir] Created dir: C:\trunk\Community\build\dist
    [mkdir] Created dir: C:\trunk\Community\build\dist\community
    [mkdir] Created dir: C:\trunk\Community\build\dist\community\libs
    [mkdir] Created dir: C:\trunk\Community\build\dist\community\doc
    [mkdir] Created dir: C:\trunk\Community\build\dist\community\data

compile:
    [javac] C:\trunk\Community\build.xml:45: warning: 'includeantruntime' was no
t set, defaulting to build.sysclasspath=last; set to false for repeatable builds

    [javac] Compiling 59 source files to C:\trunk\Community\build\classes

BUILD FAILED
C:\trunk\tools\build.xml:4: The following error occurred while executing this li
ne:
C:\trunk\Community\build.xml:45: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"

Total time: 0 seconds
C:\trunk\tools>
в чем проблема?
__________________
[Red Dragon] вне форума Отправить сообщение для [Red Dragon] с помощью ICQ Ответить с цитированием