, but there ist no folder structure in the c2jruntime.zipimport c2jruntime;
francis wrote:Basically anything in a named package cannot import anything from the default package, and everything in c2jruntime.zip is going into the default package.
francis wrote:Adding the lib directory containing both the zip archive, and the extracted classes as a class folder didn’t help.
francis wrote:The classes are not visible in the lib directory, I’ve attached a screen shot to prove they really are there.
francis wrote:If I copy either c2jruntime.zip or its class contents into a lib directory in my project, and then “Add Class Folder” none of the classes are visible anywhere.
If I use “Add external JARs” to c2jruntime.zip its classes become visible but in the default (library) package. These can only be used by source code in the default (source) package.
francis wrote:I can create a new source package, but I can’t drag the c2j classes or the entire zip into this package. I cannot create a new library package.
francis wrote:C2jruntime.zip was probably compiled before Java introduced the rule prohibiting importing from default. So there must be a way of defining a package for an archive of compiled classes.
Users browsing this forum: No registered users and 22 guests