• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 503
  • Last Modified:

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
s1
Heres the Eclipse big view
s2
0
lrbrister
Asked:
lrbrister
  • 3
  • 2
  • 2
  • +1
1 Solution
 
käµfm³d 👽Commented:
If you mouse over the light bulb in the left margin, what is the error message?
0
 
CEHJCommented:
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
0
 
lrbristerAuthor Commented:
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?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
CEHJCommented:
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
0
 
mrcoffee365Commented:
It seems pretty clear that you don't have the jar for org.m5.api and org.m5.data in your eclipse build path.

Go to Project->Properties->Java BuildPath and look in the Libraries tab.  Add the jars you need.
0
 
lrbristerAuthor Commented:
mrcoffee365

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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now