OpenWrt Forum Archive

Topic: IPv6 not working in JamVM, classpath

The content of this topic has been archived on 21 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I use the Linksys WRT 1200AC router and Chaos Calmer 15.05.1 (r48532) version.

I have setup JamVM en MySQL for my java program and everything works except for the IPv6 communication. When testing the IPv6 in Java, I get this error and not the typical java exception:

"Address family not supported by protocol"

So JamVM is not causing the problem, I think, but rather the classpath or lower dependencies. I have looked into the classpath documentation and as far as I can see, it supports IPv6?

Can someone help me locate or fix the problem?

Hi Jori,

Can u let me know did u use Java 1.5 or openjdk7, openjdk7?

Hi,

The JamVM package was and maybe still is accompanied with Classpath GNU. Classpath GNU is mostly java 1.5 compliant.

As I could not find the solution at the time, I switched the OpenWrt C-library so that I was able to use a more standard ARM Java implementation. I think it was Java Embedded SE

The discussion might have continued from here.