dystopianfuture …electronics and narcissism

18Aug/100

Debian, Java and IPv6

Currently it is not possible ( and this problem exists than a few months already ) to get Java applications to connect to the network if you use the official JRE from SUN.

It is because Debian uses a BindIPv6-Setting in sysct-lconfig.

There are a few workarounds possible:

  1. start all Java applications with  the option: -Djava.net.preferIPv4Stack=true
  2. use another JRE, for example OpenJDK. (It's in the Debian repos )
  3. set net.ipv6.bindv6only = 1 to 0 in /etc/sysctl.d/bindv6only.conf
  4. Trash your Java apps :S ( It's an option! )
  5. Hope that Sun *cough* Oracle fixes it soon,  instead of only replacing vendor-strings in JRE. (Not really an option)

This only summarizes the possibilities so far.

Further discussion can also be found in the official Debian bug report #560044 with an easy to remember number ;) .

Tagged as: , , No Comments
13Dec/090

Java Graph Drawing Librarys

Für ein Uniprojekt bin ich auf der Suche nach Graph-Drawing Librarys in Java. Unsere Projektgruppe wir diese zur diese zur Visualisierung von Java ByteCode Optimierung nutzen.
Gefunden habe ich bis jetzt (gefunden natürlich noch mehr, die gibts wie Sand am Selbigen, gut aussehen sie aber meist nicht ;) ):

Ich werde diese in den nächsten Tagen mal einer genaueren Untersuchung unterziehen. Ergebnisse folgen ;)

29Jul/090

Java Visual VM

Java Visual VM ist ein Monitoring und Troubleshooting Anwendung für Javaanwendungen und ab und an ganz hilfreich beim Debuggen.

Java Visual VM(extern)

Tagged as: , No Comments