Skip to main content
gamedev.net
🔒 Locked

[java] simple question

Started by b1gjo3 3 replies 1.2k views
Original Post
b1gjo3
b1gjo3
im trying to compile ImageJ (an open source image processor) for my Software Engineering class. I have encountered multiple compile errors and it turns out i only need to fix two things. 1) I dont know how/where to get the import SK.gnome.twain.TwainEx; 2) sun.tools.javac.Main that cannot be resolved to a type. how do i install this type or whatever for java thanks
RobAU78
RobAU78
Quote:
Original post by b1gjo3
im trying to compile ImageJ (an open source image processor) for my Software Engineering class. I have encountered multiple compile errors and it turns out i only need to fix two things.

1)
I dont know how/where to get the import SK.gnome.twain.TwainEx;

2)
sun.tools.javac.Main that cannot be resolved to a type. how do i install this type or whatever for java

thanks


You'll need to find the JAR files that contain those classes and add them to your classpath. Are you using a command-line compiler or an IDE?
b1gjo3
b1gjo3
im using eclipse IDE, i found the sun.tools.javac.Main. And i also found the twain package. Yet it still doesnt include TwainEx.
RobAU78
RobAU78
Quote:
Original post by b1gjo3
im using eclipse IDE, i found the sun.tools.javac.Main. And i also found the twain package. Yet it still doesnt include TwainEx.


Did you add the external JAR files to your build path?

I don't know where you can find TwainEx, sorry.
b1gjo3
b1gjo3
thank you

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.