Minecraft! On DragonFly! Almost!


I managed to build openjdk7 on a DragonFly 2.9 system, and run a Minecraft server… but I can’t connect to it.  Anyone want to hazard a guess as to why?  I haven’t used Java much in the past few years, so I’m not sure where to troubleshoot.

Posted by     Categories: DragonFly, Goings-on     4 Comments
4 Comments on Minecraft! On DragonFly! Almost!

Respond | Trackback

  1. James Stansell says:

    Are there any messages or exceptions being reported? Check for both the server and client. Also, if your system has multiple interfaces or ipv6 you might need to fiddle to use the right iface or ipv4.

    Best regards!

    -james.

  2. Nothing reported at the console when it runs. The system has two interfaces and I think I hit both… Needs more experimentation.

  3. According to sockstat:

    root java 23437 6 stream (not connected)
    root java 23437 9 stream (not connected)
    root java 23437 10 tcp6 *:25565 *:*

    So it looks to be connecting to ipv6 only. My ISP doesn’t route that, so no wonder it doesn’t work. Anyone know a way to tell java to not use IPv6?

  4. openjdk7-java -Xmx1024M -Xms1024M -Djava.net.preferIPv4Stack=true -jar minecraft_server.jar nogui

    Found it, thanks to ‘smag’ in #dragonflybsd.

Respond

Comments

Comments