Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Open office wiki tutorial
Open office wiki tutorial [message #213477] Sun, 03 June 2007 11:11 Go to next message
Eclipse UserFriend
Originally posted by: trwoodgate.gmail.com

Guys:
I am new to java and Eclipse.
I installed open office 2.1 in a directory called
C:\Program Files\OpenOffice.org 2.1 in windows XP

Then I downloaded and installed Eclipse SDK version 3.2.2
build id M20070212-1330 into directory
C:\0\ecplise
as I read that the installation directory with spaces could cause problems
later.

Then I followed the tutorial at
http://wiki.services.openoffice.org/wiki/JavaEclipseTuto
which was updated on 28 March 2007. I found that the screens didn't match
the tutorial which created a bit of confusion. Perhaps that may be part of
the problem.

When I follow the instructions under "packaging and testing the componenet"
namely File>export>UNO>OpenOffice.org etc I get a "Componenet registration
service could not be loaded" error.

Being new to Java and Eclipse, I was just trying to get the example in the
tutorial to work but this error brought everything to a stop. I wonder what
the problem is. Have I not installed something properly?

Can someone please help?

It's a bit silly to be asking this qs in an Eslipse newgroup, but is there a
better way (ie easier for a beginner) of writing Java for OpenOffice?

TQ Todd
Re: Open office wiki tutorial [message #213632 is a reply to message #213477] Mon, 04 June 2007 09:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trwoodgate.gmail.com

Update for those who want to laugh:
I just discovered the problems window in Eclipse which details a few errors.
So, my next question is:

I downloaded the common-math-1.1.jar from the Apache website, but have no
idea how to import this into the component project.

Tried all sorts of things including drag and drop into the package explorer.

Thanks for any assistance
Todd

"Woodgate" wrote in message news:f3u7ke$jpv$1@build.eclipse.org...
> Guys:
> I am new to java and Eclipse.
> I installed open office 2.1 in a directory called
> C:\Program Files\OpenOffice.org 2.1 in windows XP
>
> Then I downloaded and installed Eclipse SDK version 3.2.2
> build id M20070212-1330 into directory
> C:\0\ecplise
> as I read that the installation directory with spaces could cause problems
> later.
>
> Then I followed the tutorial at
> http://wiki.services.openoffice.org/wiki/JavaEclipseTuto
> which was updated on 28 March 2007. I found that the screens didn't match
> the tutorial which created a bit of confusion. Perhaps that may be part of
> the problem.
>
> When I follow the instructions under "packaging and testing the
> componenet" namely File>export>UNO>OpenOffice.org etc I get a "Componenet
> registration service could not be loaded" error.
>
> Being new to Java and Eclipse, I was just trying to get the example in the
> tutorial to work but this error brought everything to a stop. I wonder
> what the problem is. Have I not installed something properly?
>
> Can someone please help?
>
> It's a bit silly to be asking this qs in an Eslipse newgroup, but is there
> a better way (ie easier for a beginner) of writing Java for OpenOffice?
>
> TQ Todd
>
Re: Open office wiki tutorial [message #213671 is a reply to message #213632] Mon, 04 June 2007 13:35 Go to previous messageGo to next message
Charlie Kelly is currently offline Charlie KellyFriend
Messages: 276
Registered: July 2009
Senior Member
Hi Todd,

If the "component project" is an Eclipse project,
you can import the jar file using File->Import->General->File System.

Then right-click on the project and follow the "Properties" menu to
"Java Build Path" and select the select the "Add Jars" button; then
select the common-math jar.

(Strictly, it is not necessary to import the jar into the project; you
could select "Add External Jar" instead).

Charlie


Woodgate wrote:
> Update for those who want to laugh:
> I just discovered the problems window in Eclipse which details a few errors.
> So, my next question is:
>
> I downloaded the common-math-1.1.jar from the Apache website, but have no
> idea how to import this into the component project.
>
> Tried all sorts of things including drag and drop into the package explorer.
>
> Thanks for any assistance
> Todd
>
> "Woodgate" wrote in message news:f3u7ke$jpv$1@build.eclipse.org...
>> Guys:
>> I am new to java and Eclipse.
>> I installed open office 2.1 in a directory called
>> C:\Program Files\OpenOffice.org 2.1 in windows XP
>>
>> Then I downloaded and installed Eclipse SDK version 3.2.2
>> build id M20070212-1330 into directory
>> C:\0\ecplise
>> as I read that the installation directory with spaces could cause problems
>> later.
>>
>> Then I followed the tutorial at
>> http://wiki.services.openoffice.org/wiki/JavaEclipseTuto
>> which was updated on 28 March 2007. I found that the screens didn't match
>> the tutorial which created a bit of confusion. Perhaps that may be part of
>> the problem.
>>
>> When I follow the instructions under "packaging and testing the
>> componenet" namely File>export>UNO>OpenOffice.org etc I get a "Componenet
>> registration service could not be loaded" error.
>>
>> Being new to Java and Eclipse, I was just trying to get the example in the
>> tutorial to work but this error brought everything to a stop. I wonder
>> what the problem is. Have I not installed something properly?
>>
>> Can someone please help?
>>
>> It's a bit silly to be asking this qs in an Eslipse newgroup, but is there
>> a better way (ie easier for a beginner) of writing Java for OpenOffice?
>>
>> TQ Todd
>>
>
>
Re: Open office wiki tutorial [message #214099 is a reply to message #213671] Wed, 06 June 2007 16:10 Go to previous message
Eclipse UserFriend
Originally posted by: trwoodgate.gmail.com

Ahaa! Thanks for the instruction. I couldn't have found that easily.

The bad news is importing the jar file did not solve the problem. I still
get errors even though there is an
import org.apache.commons.math.fraction.Fraction statement.

I think I'm going to work through a few more java examples.

Thanks Charlie for your help.

Todd
"Charlie Kelly" <Eclipse@CharlieKelly.com> wrote in message
news:f414fr$j3n$1@build.eclipse.org...
> Hi Todd,
>
> If the "component project" is an Eclipse project,
> you can import the jar file using File->Import->General->File System.
>
> Then right-click on the project and follow the "Properties" menu to "Java
> Build Path" and select the select the "Add Jars" button; then select the
> common-math jar.
>
> (Strictly, it is not necessary to import the jar into the project; you
> could select "Add External Jar" instead).
>
> Charlie
>
>
> Woodgate wrote:
>> Update for those who want to laugh:
>> I just discovered the problems window in Eclipse which details a few
>> errors.
>> So, my next question is:
>>
>> I downloaded the common-math-1.1.jar from the Apache website, but have no
>> idea how to import this into the component project.
>>
>> Tried all sorts of things including drag and drop into the package
>> explorer.
>>
>> Thanks for any assistance
>> Todd
>>
>> "Woodgate" wrote in message news:f3u7ke$jpv$1@build.eclipse.org...
>>> Guys:
>>> I am new to java and Eclipse.
>>> I installed open office 2.1 in a directory called
>>> C:\Program Files\OpenOffice.org 2.1 in windows XP
>>>
>>> Then I downloaded and installed Eclipse SDK version 3.2.2
>>> build id M20070212-1330 into directory
>>> C:\0\ecplise
>>> as I read that the installation directory with spaces could cause
>>> problems later.
>>>
>>> Then I followed the tutorial at
>>> http://wiki.services.openoffice.org/wiki/JavaEclipseTuto
>>> which was updated on 28 March 2007. I found that the screens didn't
>>> match the tutorial which created a bit of confusion. Perhaps that may be
>>> part of the problem.
>>>
>>> When I follow the instructions under "packaging and testing the
>>> componenet" namely File>export>UNO>OpenOffice.org etc I get a
>>> "Componenet registration service could not be loaded" error.
>>>
>>> Being new to Java and Eclipse, I was just trying to get the example in
>>> the tutorial to work but this error brought everything to a stop. I
>>> wonder what the problem is. Have I not installed something properly?
>>>
>>> Can someone please help?
>>>
>>> It's a bit silly to be asking this qs in an Eslipse newgroup, but is
>>> there a better way (ie easier for a beginner) of writing Java for
>>> OpenOffice?
>>>
>>> TQ Todd
>>>
>>
Previous Topic:Cannot start the Eclipse!
Next Topic:specifying project dependencies in build.xml vs build path
Goto Forum:
  


Current Time: Tue Apr 16 15:23:59 GMT 2024

Powered by FUDForum. Page generated in 0.58515 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top