Configuration "No java binary in path"

DavidHack38

Aventurier
26 Janvier 2016
5
0
2
Salut,
Je veut faire un serveur FTBLite3
J'ai accepté le EULA et lancé "FTBInstall.bat"
Ensuite, j'ai démarré "ServerStart.bat" mais il y a eu une erreur :
"No java binary in path. Can't run server, exiting ..."
J'ai exécuté "en tant qu'admin",ce qui a reglé le problème mais j'ai encore eu une erreur :
"Missing "eula.txt". Startup will fail and eula.txt will be created
Make sure to read "eula.txt" before playing!
error : unable to access jarfile "FTBServer-1.7.10.jar"
server process finished "
Pourtant, les fichiers "eula.txt" et "FTBServer-1.7.10.jar" sont dans le dossier
PS : J'ai mis "eula=true" dans le fichier eula.
Quelqu'un peut m'aider?
PPS : J'ai joint une liste des fichier que j'ai
 

Fichiers joints

  • Capture.JPG
    Capture.JPG
    32.6 KB · Vues : 522
Salut
Envoie se quil y a dans "Serverstart.bat" et FTBInstall.bat
 
Serverstart.bat

if NOT "%FTB_VERBOSE%"=="yes" (
@echo off
)

if NOT EXIST minecraft_server.1.7.10.jar (
echo running install script!
call FTBInstall.bat
)

REM Check if java in path
where java > NUL 2>&1

if %ERRORLEVEL% NEQ 0 (
echo No java binary in path. Can't run server, exiting...
pause
exit /B
)

REM Test JVM
REM e.g. 32-bit JVM does not have server\jvm.dll library
java -server -version > java-test.log 2>&1

if %ERRORLEVEL% NEQ 0 (
echo Detected following JVM error:
echo =======================================
cat java-test.log
echo =======================================
echo JVM test failed. Can't run server, Exiting...
pause
exit /B
)

if not exist eula.txt (
echo Missing eula.txt. Startup will fail and eula.txt will be created
echo Make sure to read eula.txt before playing!
goto startserver
)

find "eula=false" eula.txt 1 > NUL 2>&1
if %ERRORLEVEL% EQU 0 (
echo Make sure to read eula.txt before playing! Exiting.
pause
exit /B
)

:startserver
java -server -Xms512m -Xmx2048M -XX:PermSize=256m -d64 -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -jar FTBServer-1.7.10.jar nogui
echo Server process finished
pause

et ftbinstall.bat

libraries\wget.exe -O minecraft_server.1.7.10.jar https://s3.amazonaws.com/Minecraft.Download/versions/1.7.10/minecraft_server.1.7.10.jar
libraries\wget.exe -O libraries\net\minecraft\launchwrapper\1.11\launchwrapper-1.11.jar https://libraries.minecraft.net/net/minecraft/launchwrapper/1.11/launchwrapper-1.11.jar
 
ça m'affiche ça :
A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:43)
at cpw.mods.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:12)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more
 
Yes j'ai réussi à trouver. Apparemment, j'ai pas lancé le serveur minecraft de base ("minecraft_server.1.7.10"), donc il a pas pu lancer le FTB ("FTBServer-1.7.10")