• Chào bạn, hãy đăng ký hoặc đăng nhập để tham gia cùng bọn mình và sử dụng được đầy đủ chức năng của diễn đàn :).
aibietduocVN

Hỏi về server server

thôi đừng tin, em ngu lắm, cảm ơn
 
Mã:
@echo off
:loop
title TenServer
chcp 65001
java -Dfile.encoding=UTF-8 -Xms10G -Xmx10G -jar spigot.jar nogui
echo Crtl+L to exit the server!
timeout 9
echo (%time%) Restarting!
goto loop
 
thử cmd đó xem, chứ em ngu là ngu thật
 
thử cmd đó xem, chứ em ngu là ngu thật
thử cmd đó xem, chứ em ngu là ngu thật

Mã:
Active code page: 65001
Picked up _JAVA_OPTIONS: -Xmx512M
Exception in thread "main" java.lang.IllegalArgumentException
        at java.instrument/sun.instrument.InstrumentationImpl.appendToClassLoaderSearch0(Native Method)
        at java.instrument/sun.instrument.InstrumentationImpl.appendToSystemClassLoaderSearch(InstrumentationImpl.java:224)
        at io.papermc.paperclip.Agent.addToClassPath(Agent.java:39)
        at io.papermc.paperclip.Paperclip.getMainMethod(Paperclip.java:225)
        at io.papermc.paperclip.Paperclip.main(Paperclip.java:51)
Crtl+L to exit the server!

Waiting for 6 seconds, press a key to continue ...
nó ra vầy
 
vãi l, nâng M lên G đi bạn, lên 1 hoặc 3 hoặc 5 hoặc 7 hoặc 10 hoặc 10000 G đi chứ chạy = 512M vc?
 
vãi l, nâng M lên G đi bạn, lên 1 hoặc 3 hoặc 5 hoặc 7 hoặc 10 hoặc 10000 G đi chứ chạy = 512M vc?
Mã:
Active code page: 65001
Picked up _JAVA_OPTIONS: -Xmx512M
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
Crtl+L to exit the server!

Waiting for 8 seconds, press a key to continue ...
Mã:
nó bảo quá giới hạn cho phép nè bon
giới hạn máy tui có 512M ak bon
 
cấu hình máy?
 
kiểm tra lại java của máy bạn đi chắc lỗi nằm ở đó
 
Mã:
Active code page: 65001
Picked up _JAVA_OPTIONS: -Xmx512M
Exception in thread "main" java.lang.IllegalArgumentException
        at java.instrument/sun.instrument.InstrumentationImpl.appendToClassLoaderSearch0(Native Method)
        at java.instrument/sun.instrument.InstrumentationImpl.appendToSystemClassLoaderSearch(InstrumentationImpl.java:224)
        at io.papermc.paperclip.Agent.addToClassPath(Agent.java:39)
        at io.papermc.paperclip.Paperclip.getMainMethod(Paperclip.java:225)
        at io.papermc.paperclip.Paperclip.main(Paperclip.java:51)
Crtl+L to exit the server!

Waiting for 6 seconds, press a key to continue ...
nó ra vầy
Cái lỗi trên thì t biết fix sao chắc cài lại java đi. Còn cái này là do ông để -Xms > -Xmx
 
Similar content Most view Xem thêm
Back
Top Bottom