LINUX.ORG.RU

История изменений

Исправление panzerito, (текущая версия) :

$ ls $JAVA_HOME/lib/tools.jar
/opt/jdk/lib/tools.jar
$ echo $JRE_HOME
/opt/jdk/jre
jinput-20100502$ ant init
jinput-20100502$ ant dist
...
createJNIHeaders:
    [javah] ClassArgument.name=net.java.games.input.LinuxEventDevice
    [javah] ClassArgument.name=net.java.games.input.LinuxJoystickDevice

BUILD FAILED
/dev/shm/jinput-20100502/build.xml:110: The following error occurred while executing this line:
/dev/shm/jinput-20100502/build.xml:69: The following error occurred while executing this line:
/dev/shm/jinput-20100502/plugins/linux/build.xml:56: java.lang.NoSuchMethodError: com.sun.tools.javah.Main.<init>([Ljava/lang/String;)V
        at org.apache.tools.ant.taskdefs.optional.Javah.doClassicCompile(Javah.java:350)

С jinput-2.0.7 или https://github.com/jinput/jinput тоже самое.

Скачаю 151 и попробую создать issue

Исходная версия panzerito, :

$ ls $JAVA_HOME/lib/tools.jar
/opt/jdk/lib/tools.jar
$ echo $JRE_HOME
/opt/jdk/jre
jinput-20100502$ ant init
jinput-20100502$ ant dist
...
createJNIHeaders:
    [javah] ClassArgument.name=net.java.games.input.LinuxEventDevice
    [javah] ClassArgument.name=net.java.games.input.LinuxJoystickDevice

BUILD FAILED
/dev/shm/jinput-20100502/build.xml:110: The following error occurred while executing this line:
/dev/shm/jinput-20100502/build.xml:69: The following error occurred while executing this line:
/dev/shm/jinput-20100502/plugins/linux/build.xml:56: java.lang.NoSuchMethodError: com.sun.tools.javah.Main.<init>([Ljava/lang/String;)V
        at org.apache.tools.ant.taskdefs.optional.Javah.doClassicCompile(Javah.java:350)

С jinput-2.0.7 или https://github.com/jinput/jinput тоже самое.

Попробую создать issue