Jump to content

Recommended Posts

Posted

What I did:

New install of openjdk, tested, works.

Brand new downloaded today 1.3.2 minecraft_server.jar, tested, works.

Install forge (copy all files into jar, NOT deleteing META-INF)

 

 

Exception in thread "main" java.lang.NullPointerException

        at cpw.mods.fml.relauncher.FMLRelauncher.showWindow(FMLRelauncher.java:68)

        at cpw.mods.fml.relauncher.FMLRelauncher.relaunchServer(FMLRelauncher.java:117)

        at cpw.mods.fml.relauncher.FMLRelauncher.handleServerRelaunch(FMLRelauncher.java:33)

        at net.minecraft.server.MinecraftServer.main(MinecraftServer.java:1258)

 

 

 

What I tried:

- redid the setup process to make sure I didnt screw it up.

- searched forums for similar problem, found one exept his error also had a mention of 'makeheadless' is there a command line switch I need?

suggested for him  http://files.minecraftforge.net/fmllibs/fml_libs.zip into jardirectory/libs, this did nothing.

This is a minimal install with no xwindows. Vanilla works fine but I'm guessing I'm missing something forge needs and I cant seem to find any documentation on what I need.

 

EDIT: Forge 4.1.1 downloaded from release thread just today.

EDIT 2: Found another thread about the same problem on linux (Exept I dont have the fontconfig error, and his still had that 'makeheadless' line I dont have) his solution was 'install sun java' yea on FreeBSD thats not so simple, FreeBSD project isnt doing ports of sun java past 1.6  I'm currently trying to install the freebsd linux compatability layer but im watching the port install and its litterally downloading and installing an entire linux system, if this even works, running through an emulation later like that...not gonna be all that performant. That other thread implyed it was an openjdk problem which may mean I'm just SOL.

Posted

Alright got it working, nice thing about *nix users, we'll fight with stuff till it works. :P Heres a quick synopsys.

 

So for BSD theres 5 java's for 6/7 I've tried 4:

  • Sun JDK 6 - not attempted
  • OpenJDK 7 - Open source implentation, runs nativly,this is the one causing the initial error
  • Sun JDK 7 - in theory can be done, with the linux emulation layer which actually installs an entire linux directory tree, which makes pathing a nightmare and I had library path/source path issues.
  • Diablo JDK 6 - This is the freebsd port of suns java 1.6, runs nativly, this almost worked, there was another error that I also got in openjdk 6, a crypto problem which was solved with -Djava.security.egd=file:/dev/random, and then ran into another error about a missing library Which turned out to be me having the minimap mod on the server, it would probably work
  • OpenJDK 6 - Open source implementation, runs nativly This is the one that I'm using now and seems to work just fine once i took the minimap mod

 

Modmix: BC3+IC2+Forestry although all of my testing before diablo was just vanilla+forge, in diablo, that worked so i threw mods at it and it exploded due to minimap mod.

 

FreeBSD 8.0-RELEASE #0: GENERIC  amd64

Posted

On FreeBSD 9 it's runs with with Forge #275.

 

You need to install two packages: openjdk7 and xorg-fonts-truetype

 

Then the server starts with:

java -Djava.awt.headless=true -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

 

I hope that this helps you out.

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I downloaded Forgematice, moved the file to the mods folder, but after starting Minecraft it does not detect any modifications, I need help
    • Upon registering a new account on here, there's a simple security question. Something along the lines of "name a tool you can craft in vanilla Minecraft" and "name a weapon you can craft in vanilla Minecraft". I answered these with answers that are correct. Yet I'm told I "didn't pass the security check". This happens with every answer to every question. If you can't craft a pickaxe, or use a sword as a weapon in vanilla Minecraft then you and I must be playing a totally different game!!
    • Hello, and happy new year! I've returned to modding while on break from work, and cannot make heads or tails of the method for setting the correct tool for breaking a custom block. This should be a simple affair, but after digging through the vanilla files, all I could find was  assets/data/minecraft/tags/block/mineable/pickaxe.json (and axe, hoe, shovel). So I figured this must be how they're specifying the tool for each block. Yet, after implementing a similar file in my own data folder, it still doesn't work. Plus, this doesn't address the issue of specifying what level of tool is required (wood/stone/iron, etc).   So, please... how should this be being done, properly? And could it be done through the Java code rather than JSON files, without overriding functions for block breaking? I'm either missing something obvious, or -- as is more likely the case -- this is just far more convoluted than it ought to be, for something that should just be a field or two in the Block Properties.
    • and this forge error, is just for forge 1.19.2
    • hey. when i want to install forge , it shows me an error that says :  failed to run processor: java.net.ssl.SSLHandshakeException:Remote host ... . . . Try updating your java before trying again. but my java is the latest version of java. please help me to fix this  
  • Topics

×
×
  • Create New...

Important Information

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