Jump to content

1.16.5 mod server :"main WARN Advanced terminal features are not available in this environment"


Recommended Posts

Posted

C:\Users\xyc\Desktop\F16s>java -Xmx20480M -Xms20480M -jar server0.jar nogui
2021-04-28 16:45:20,198 main WARN Advanced terminal features are not available in this environment
[16:45:20] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.1.0, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui]
[16:45:20] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16.0.1 by Oracle Corporation
Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x4c6e276e) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x4c6e276e
        at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:41)
        at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)
        at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:41)
        at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)
        at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
        at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)
        at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)
        at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:62)
        at cpw.mods.modlauncher.Launcher.<init>(Launcher.java:55)
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
        at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
        at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
        at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)

 

Get this message when try to install forge server.

Posted
16 minutes ago, scro_oge said:

get this now when try to reinstall forge

wtf.PNG

fix by uninstall all jdk and jre, then reinstall.

but I still get this when try to launch the server

2021-04-28 17:12:49,890 main WARN Advanced terminal features are not available in this environment
[17:12:49] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.1.0, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui]
[17:12:49] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16.0.1 by Oracle Corporation
Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x4c6e276e) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x4c6e276e
        at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:41)
        at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)
        at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:41)
        at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)
        at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
        at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)
        at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)
        at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:62)
        at cpw.mods.modlauncher.Launcher.<init>(Launcher.java:55)
        at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
        at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
        at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
        at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)

Posted

I do not believe your issue has to do with the warning about advanced terminal features, rather I think it may be due to using Java 16.

Try it using Java 8, which is the version MC uses, although I think I saw something somewhere saying forge works with up to Java 15.

Posted
31 minutes ago, scro_oge said:

C:\Users\xyc\Desktop\F16s>java -Xmx20480M -Xms20480M -jar server0.jar nogui

Also, make sure you are running the forge jar, hard to tell since your commandline says "server0.jar". I would advise against renaming the forge jar to some arbitrary name.

Posted
1 minute ago, Ugdhar said:

I do not believe your issue has to do with the warning about advanced terminal features, rather I think it may be due to using Java 16.

Try it using Java 8, which is the version MC uses, although I think I saw something somewhere saying forge works with up to Java 15.

JDK 15? cause I installed jre 8 but then I cant even open jar files

Posted
3 minutes ago, scro_oge said:

JDK 15? cause I installed jre 8 but then I cant even open jar files

If you're just running java programs, you only need the JRE. If you can't open jar files after installing Java 8, it's probably messed up file associations. Can't tell for sure without seeing a log or error message.

Posted
12 minutes ago, Ugdhar said:

If you're just running java programs, you only need the JRE. If you can't open jar files after installing Java 8, it's probably messed up file associations. Can't tell for sure without seeing a log or error message.

holy shit , install jdk 15 actually worked, thx bro

  • 4 months later...
Posted
On 4/28/2021 at 11:39 AM, scro_oge said:

holy shit , install jdk 15 actually worked, thx bro

mind saying what you did to get it installed, I have done so much research on to getting it installed, I broke down and made an account with oracle (they will find out and probably terminate my account since my business is 0 and alot of other things are 0 even my address) I installed jdk 15, went through clean but I check my cmd it still shows I'm on java version 16.1, but curiously enough it does not show my jdk version which I am frustrated to understand why. Every time I run the server I still get the same error messages as you did in the beginning of this thread. I went as far even before using the installed to change and add things in the environment directory to no avail.

Please clarify what you did to get this working. Thanks

  • 1 month later...
Posted
On 9/26/2021 at 2:51 AM, TheSnowMexican said:

mind saying what you did to get it installed, I have done so much research on to getting it installed, I broke down and made an account with oracle (they will find out and probably terminate my account since my business is 0 and alot of other things are 0 even my address) I installed jdk 15, went through clean but I check my cmd it still shows I'm on java version 16.1, but curiously enough it does not show my jdk version which I am frustrated to understand why. Every time I run the server I still get the same error messages as you did in the beginning of this thread. I went as far even before using the installed to change and add things in the environment directory to no avail.

Please clarify what you did to get this working. Thanks

Go to the control panel -> programs -> uninstall programs, there will be the the different versions of Java se development kit like 15 and 16.1 uninstall the 16.1 development kit that you have installed then try. this worked for me

 

Guest
This topic is now closed to further replies.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Without Network protocol fix mod, I get kicked with a Network Protocol error when on LAN. Also, both of these issues are caused by a Null Pointer Exception/Screen cannot be null in a "Client Bound Player Combat Kill Packet".
    • You need a new "items" folder at  resources/assets/yourmodid/ there you add for every item model a .json file with the exact item/block name and fill it like this if it's an item: { "model": { "type": "minecraft:model", "model": "yourmodid:item/youritem" } } and so if its a block: { "model": { "type": "minecraft:model", "model": "yourmodid:block/youritem" } } There is also a generator for it you can do namy crazy things with it which replaces the previous hard coded Item Properties implementaion method (Bow pulling animation for example). https://misode.github.io/assets/item/
    • Hello! I'm playing a modpack (custom made) with some friends, and we have the server running on BisectHosting. We encountered a bug with an entity from The Box Of Horrors mod, that would crash the game whenever someone nearby it would log in. We tried to fix it by: 1) Editing the player.dat files to change the location of the affected players (something I had done successfully previously) 2) Updating the version of the mod we had (0.0.8.2) to the latest alpha version (0.0.8.3 However, after doing both of those, none of us are able to join the server, and we get the following errors: Server side: https://pastebin.com/J5sc3VQN Client side: Internal Server Error (that's basically all I've gotten) Please help! I've tried restoring the player data to how it was before I made the changes (Bisect allows you to restore deleted files) and deleting all of my player data files and I still get the same error. Deleting Box Of Horrors causes the error: Failed to load datapacks, cannot continue with server load.
    • Hey there! I'm trying to create a simple mod for Forge 1.21.1 that adds a few custom banner patterns that don't require any banner pattern items. To be completely honest, this is my first time modding for Minecraft, so after setting up the project in Intellij, I copied the parts of the source code from this mod on CurseForge that dealt with adding and registering banner patterns, including the lang and banner_pattern .json files. From what I understand, to add a banner pattern that doesn't require a banner pattern item, I only needed to create the registries for each pattern like in here and then register it in the main java class like here on Line 54. Additionally, in the lang/en_us.json file, add in the names for each respective banner color, and in the data/minecraft/tags/banner_pattern/no_items_required.json file, add each banner pattern that does not require a banner pattern item to make a banner. The project is able to compile when loading in Forge which makes me assume that the file structure I have is correct, but on loading a Minecraft world, this error appears in console and the loom is subsequently blank. [Worker-Main-1/ERROR] [minecraft/TagLoader]: Couldn't load tag minecraft:no_item_required as it is missing following references: *lists every added entry in no_item_required.json* The message clearly states something went wrong regarding when trying to load in the registries from the mod, but I have no clue what could be wrong with the code I have. Attached below are screenshots of what I currently have. Java Main Class Banner Registry Class File Structure Error in Console upon loading a Minecraft world What the loom shows without minecraft:no_item_required    The original mod I copied still functions completely, so if anyone can figure out why the registries for the mod I'm making isn't working, that would be greatly appreciated!    
    • Please someone help me to know how can I fix this generation error in the trees! I already uninstalled and reinstalled several mods in my modpack and can't figure out what is causing it.    
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.