-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source doesn't compile with openjdk-6 #1
Comments
Yes, I always use the implementation from Sun. Errr. Oracle. ;-) On 02/05/2012 05:26 PM, pvbiesen wrote:
|
Please note that :
Please don't make your library depend on non-open source applications. Kindest regards, Peter.
|
Java version:
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b24~pre2-1)
OpenJDK Server VM (build 20.0-b12, mixed mode)
OS:
Debian testing i386
Linux 3.1.0-1-686-pae #1 SMP Fri Dec 23 19:59:41 UTC 2011 i686 GNU/Linux
Trace :
javac -cp lib src/be/geek/smajava/*
Inverter.java:10: package javax.microedition.io does not exist
import javax.microedition.io.Connector;
^
Inverter.java:11: package javax.microedition.io does not exist
import javax.microedition.io.StreamConnection;
^
Inverter.java:112: cannot find symbol
symbol : class StreamConnection
location: class be.geek.smajava.Inverter
StreamConnection connection = (StreamConnection) Connector.open(getConnectionURL());
^
Inverter.java:112: cannot find symbol
symbol : class StreamConnection
location: class be.geek.smajava.Inverter
StreamConnection connection = (StreamConnection) Connector.open(getConnectionURL());
^
Inverter.java:112: cannot find symbol
symbol : variable Connector
location: class be.geek.smajava.Inverter
StreamConnection connection = (StreamConnection) Connector.open(getConnectionURL());
^
5 errors
Googling for the error brings me to following statement :
No javax.microedition.io in a J2SE compatible jvm/classpath environment.
Apparently javax.microedition is SUN Java specific and not included in the J2SE specification. Is this correct ?
Kindest regards,
Peter.
The text was updated successfully, but these errors were encountered: