javax.realtime package is missing

3.7k Views Asked by At

I am very new to Realtime system development in Java. I create Java files in OpenSuse and compile it. I get an error:

The import javax.realtime cannot be resolved.

I have been searching for RealTime JAR file. I tried many website such as FindJar.com, Oracle website (Sun), etc. I cannot find it.

Any idea how to resolve this?

5

There are 5 best solutions below

3
On

Check out http://java.sun.com/javase/technologies/realtime/rts/ . There is a evaluation download and academic license if that meets your demands

1
On

You could try: http://www.timesys.com/java/ (RTSJ Reference Implementation from timesys) . The copy's for Research Purpose though.

0
On

I think you can download a RT implementation from IBM for Java 8 here.

Also, if you want more find more information check this answer.

0
On

I have found out that the Javolution-Core package contains javax.realtime.RealtimeThread class https://mvnrepository.com/artifact/org.javolution/javolution-core-java/6.0.0. However, the essential dependencies like javax.realtime.SchedulingParameters and javax.realtime.ReleaseParameters are still missing from this package.

0
On

Realtime behavior is not something you can add to a VM by just adding a Jar file. The way priorities and synchronization are handled is completely different in a realtime JVM. You can download the personal edition of JamaicaVM to try out the RTSJ: "http://www.aicas.com/jamaica-pe.html". JamaicaVM does not just provide the javax.realtime package, but also provides realtime garbage collection.