From the Java language spec:
It is a compile time error to import a type from the unnamed package.
You’ll have to access the class via reflection or some other indirect method.
More Related Contents:
- Failed to load the JNI shared Library (JDK)
- How can I tell if I’m running in 64-bit JVM or 32-bit JVM (from within a program)?
- How to fix an UnsatisfiedLinkError (Can’t find dependent libraries) in a JNI project
- java.lang.UnsatisfiedLinkError no *****.dll in java.library.path
- How to access java-classes in the default-package?
- Extract and load DLL from JAR
- Calling a java method from c++ in Android
- Embed Java into a C++ application?
- What does the registerNatives() method do?
- What does a JVM have to do when calling a native method?
- Should you call ReleaseStringUTFChars if GetStringUTFChars returned a copy?
- Java Native Access doesn’t do C++, right?
- What is a native implementation in Java? [duplicate]
- Eclipse reported “Failed to load JNI shared library” [duplicate]
- Can I call Java from Node.js via JNI and how?
- How do I get a list of JNI libraries which are loaded?
- JNI converting jstring to char *
- Use JNI instead of JNA to call native code?
- how to set java library path for processing
- Generating Java interface with SWIG
- Best way to throw exceptions in JNI code?
- JNI Calls different in C vs C++?
- jni.h: no such file or directory
- In JNI, how do I cache the class, methodID, and fieldIDs per IBM’s performance recommendations?
- Is it possible to use sun.misc.Unsafe to call C functions without JNI?
- Attach to already running JVM
- How to Use Eclipse to Debug JNI code (Java & C/C++)
- Using a java class from Delphi
- Calling C++ dll from Java
- C++ ifstream.getline() significantly slower than Java’s BufferedReader.readLine()?