Link to home
Create AccountLog in
Avatar of Larry Brister
Larry BristerFlag for United States of America

asked on

Java Errors

I am NOT a Java programmer.
I am a VB.Net developer on a project where I have been given a jar file to use.

Some of it works
When I open the jar file in Eclipse...

Thsi looks fine
org.m5.hostedconnect.v1

However...you can see in my attached image of my Eclipse screen that the v2 is showing all kinds of errors and seems to be on the import part

Here's the import screen print
User generated image
Heres the Eclipse big view
User generated image
Avatar of kaufmed
kaufmed
Flag of United States of America image

If you mouse over the light bulb in the left margin, what is the error message?
Are you sure you should have both v1 AND v2?

Also, make sure you can compile the simplest class with at least one jdk import
Avatar of Larry Brister

ASKER

Both guys...
Kaufmed -MOuse over the import lines gets me
"The import org.m5.api.v1.Bob1Exception cannot be resolved"

Mouse over any spots on the code gives me 1-7 solutions...including Generatethe class.

CEHJ,
I've sent a support request to the vendor asking just that.

As far as compiling just one...
How would I go about that?
Find out where these jars are. Remove them from the build path. Create a new class and make sure it compiles ok.

When that works, add the jars to the build path again, making sure you have the right locations

You can then delete the test class
ASKER CERTIFIED SOLUTION
Avatar of mrcoffee365
mrcoffee365
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
mrcoffee365

It seems pretty clear I don;t have the faintest clue on Eclipse.
I'll plod through your suggestion
Eclipse is a learning process.  Many good things about it, but many things are unnecessarily difficult.
Thanks