Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

my "run.bat" file wont work


blackout4951
 Share

Recommended Posts

Its saying:

C:\Users\User\Downloads\blackout>C:\Program Files\Java\bin\java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\User\Downloads\blackout>pause
Press any key to continue . . .

Link to comment
Share on other sites

Its saying:
 

C:\Users\User\Downloads\blackout>"C:\Program Files\Java\bin\java" -Xmx4096M -Xms4096M -jar forgeserver.jar nogui
The system cannot find the path specified.

C:\Users\User\Downloads\blackout>pause
Press any key to continue . . .

I definitely feel like im missing something within the "C:\Program Files\Java\bin\java" part I just dont know what, do I need to put in the version i want it to run? Like for example if I wanted it to run java 8 do I put "jre.1.8.0_291" somewhere in that .bat code?
I apologise if I seem quite confusing right now

Link to comment
Share on other sites

im quite confused right now because ive found a jdk file called "Java development kit" but im still a little confused on how i find it in my files so i can delete it because in windows/the start up thingy, you can only run commands you cant delete files or .exes or batch files, etc

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • why my forge is giving methis error Failed to run processor: javax.net.ssl.SSLHandshakeException:PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target See log for more details.
    • mod was running fine made a windmill and everything but when i placed a mechanical harvester the server crashed (running server on the same pc im playing on), i tried to reload the server, it started fine but when i logged in it crashed again [20:00:50] [Server thread/ERROR]: Encountered an unexpected exception java.lang.NoSuchMethodError: 'net.minecraft.nbt.CompoundTag net.minecraft.world.level.block.entity.BlockEntity.save(net.minecraft.nbt.CompoundTag)'         at com.simibubi.create.foundation.tileEntity.SyncedTileEntity.save(SyncedTileEntity.java:26) ~[create-mc1.18.1_v0.4c.jar%2337!/:mc1.18.1_v0.4c]         at com.simibubi.create.foundation.tileEntity.SyncedTileEntity.writeClient(SyncedTileEntity.java:59) ~[create-mc1.18.1_v0.4c.jar%2337!/:mc1.18.1_v0.4c]         at com.simibubi.create.foundation.tileEntity.SyncedTileEntity.m_5995_(SyncedTileEntity.java:33) ~[create-mc1.18.1_v0.4c.jar%2337!/:mc1.18.1_v0.4c]         at net.minecraft.network.protocol.game.ClientboundLevelChunkPacketData$BlockEntityInfo.m_195691_(ClientboundLevelChunkPacketData.java:153) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.network.protocol.game.ClientboundLevelChunkPacketData.<init>(ClientboundLevelChunkPacketData.java:44) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.network.protocol.game.ClientboundLevelChunkWithLightPacket.<init>(ClientboundLevelChunkWithLightPacket.java:24) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.level.ChunkMap.m_183760_(ChunkMap.java:1125) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.level.ChunkMap.m_183754_(ChunkMap.java:785) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.level.ChunkMap.m_140192_(ChunkMap.java:923) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.level.ChunkMap.m_140199_(ChunkMap.java:1045) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.level.ServerChunkCache.m_8463_(ServerChunkCache.java:458) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.level.ServerLevel$EntityCallbacks.m_141985_(ServerLevel.java:1551) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.level.ServerLevel$EntityCallbacks.m_141985_(ServerLevel.java:1534) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.world.level.entity.PersistentEntitySectionManager.m_157575_(PersistentEntitySectionManager.java:135) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.world.level.entity.PersistentEntitySectionManager.addEntityWithoutEvent(PersistentEntitySectionManager.java:98) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.world.level.entity.PersistentEntitySectionManager.addNewEntityWithoutEvent(PersistentEntitySectionManager.java:76) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.level.ServerLevel.m_8853_(ServerLevel.java:827) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.level.ServerLevel.m_8834_(ServerLevel.java:771) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.players.PlayerList.m_11261_(PlayerList.java:190) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_143699_(ServerLoginPacketListenerImpl.java:138) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10055_(ServerLoginPacketListenerImpl.java:125) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.network.ServerLoginPacketListenerImpl.m_10050_(ServerLoginPacketListenerImpl.java:69) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.network.Connection.m_129483_(Connection.java:229) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:142) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:882) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:328) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:808) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:668) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:258) ~[server-1.18.1-20211210.034407-srg.jar%2342!/:?]         at java.lang.Thread.run(Thread.java:833) [?:?] tell me if you need more info  
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.