Официальный сайт студ.городка НГТУ
Software » Resin + java 

#1  14.03.07 14:07

Resin + java

Resin can't load com.sun.tools.javac.Main.  Usually this means that the
JDK tools.jar is missing from the classpath, possibly because of using
a JRE instead of the JDK.  You can either add tools.jar to the classpath
or change the compiler to an external one with <java compiler='javac'/>
or jikes.

java.lang.ClassNotFoundException: com.sun.tools.javac.Main

Resin-3.0.14 (built Thu, 31 Aug 2006 09:20:10 PDT)

чего нехватает?

Offline

#2  14.03.07 16:53

Re: Resin + java

ko_antoha написал(а):

Usually this means that the
JDK tools.jar is missing from the classpath, possibly because of using
a JRE instead of the JDK.

Offline

#3  14.03.07 17:28

Re: Resin + java

Обычно этот проверка этот JDK tools.jar пропал из раздела, возможно потомучто используете JRE вместо JDK. ну и что это значит то?
я ставил j2sdk-1_4_2_13-linux-i586
переделывал в sun-j2sdk1.4_1.4.2+13_i386.deb и ставил.

Offline

#4  14.03.07 23:26

kai
Профиль

Re: Resin + java

ko_antoha написал(а):

Resin can't load com.sun.tools.javac.Main.  Usually this means that the
JDK tools.jar is missing from the classpath, possibly because of using
a JRE instead of the JDK.  You can either add tools.jar to the classpath
or change the compiler to an external one with <java compiler='javac'/>
or jikes.

Resin не может загрузить com.sun.tools.javac.Main. Обычно это происходит из-за того, что JDK tools.jar пропал из classpath, возможно из-за использования JRE  в место JDK. Вы можете добавить  tools.jar в classpath, или сменить компилятор на внешний компилятор строкой <java compiler='javac'/>.

Offline

#5  15.03.07 08:35

Re: Resin + java

1. root@Router:~# java compiler='javac'/
Exception in thread "main" java.lang.NoClassDefFoundError: compiler=javac/

2. где взять этот  tools.jar и где находиться classpath??

Offline

#6  15.03.07 09:32

Re: Resin + java

при установке 1_5 вместо 1_4
$ sudo apt-get install sun-j2sdk1.5debian
немогу сделать говорит ненайден

Offline

Software » Resin + java 

ФутЕр:)

© Hostel Web Group, 2002-2025.   Сообщить об ошибке

Сгенерировано за 0.027 сек.
Выполнено 11 запросов.