| View previous topic :: View next topic |
| Author |
Message |
ib4jc78 General User

Joined: 24 Jan 2008 Posts: 15
|
Posted: Sat Sep 19, 2009 7:27 pm Post subject: Java Imports Missing after migration from v2 to v3 |
|
|
I had OO v2 installed and decided to upgrade to v3, I am using the Eclipse IDE and my java applications now cannot find several imports, for example the following cannot be found -
| Code: |
import com.sun.star.frame.*;
import com.sun.star.view.*;
import com.sun.star.sheet.*;
import com.sun.star.table.*;
|
I had changed my build path to include the new class files in the URE/Java directory and most of the imports where found, but the ones above where not and now my application will not run. I tried to find a document that has notes for migrating from v2 to v3 but I did not find anything useful. Eclipse is not seeing something, I have added the following jar files to my build path... unoloader.jar, java_uno.jar, juh.jar, jurt.jar, and ridl.jar. I remember v2 having more jar files. Am I missing something? Thanks! |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3533 Location: Hamburg, Germany
|
Posted: Sun Sep 20, 2009 12:27 am Post subject: Re: Java Imports Missing after migration from v2 to v3 |
|
|
| ib4jc78 wrote: | | Am I missing something? |
unoil.jar |
|
| Back to top |
|
 |
ib4jc78 General User

Joined: 24 Jan 2008 Posts: 15
|
Posted: Sun Sep 20, 2009 5:19 am Post subject: |
|
|
| That one is not there, it is located somewhere else or do I have a bad installation of OO? |
|
| Back to top |
|
 |
hol.sten Super User


Joined: 14 Nov 2004 Posts: 3533 Location: Hamburg, Germany
|
Posted: Sun Sep 20, 2009 6:14 am Post subject: |
|
|
| ib4jc78 wrote: | | hol.sten wrote: | | unoil.jar | That one is not there, it is located somewhere else or do I have a bad installation of OO? |
It's part of every OOo installation I've used and it's still part of OOo 3.x versions. Since OOo 3.x all of OOo's JAR files are located in subfolders of Basis\program\classes and URE\java (http://user.services.openoffice.org/en/forum/viewtopic.php?f=44&t=10825).
Where did you get your OOo setup file from? |
|
| Back to top |
|
 |
ib4jc78 General User

Joined: 24 Jan 2008 Posts: 15
|
Posted: Sun Sep 20, 2009 6:23 am Post subject: |
|
|
| I found it, I was looking in the wrong spot. I also found I needed to get the SDK, I installed that too. Thanks! |
|
| Back to top |
|
 |
|