On 03/13/12 09:50, Larry Evans wrote:
> On 03/13/12 05:31, Jeroen Nouws wrote:
>> what version of java are you using? the official Oracle version or an 
>> openJDK implementation? Try with an oracle java and see if you still 
>> have it.
>>
> [snip]
> $ java -version
> java version "1.6.0_20"
> OpenJDK Runtime Environment (IcedTea6 1.9.10) (6b20-1.9.10-0ubuntu1~10.04.3)
> OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
> 
> 
> So, my java is OpenJDK.  I found (after a lot of searching):
> 
> 
> http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u3-download-1501626.html
> 
> from which I downloaded:
> 
>    http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.rpm
> 
> However, since my OS is ubuntu, and my synaptic doesn't know how to
> install .rpm, I had to examine a bunch of man pages before resorting
> to googling for 'synaptic rpm' which showed:
> 
> http://www.psychocats.net/ubuntu/installingsoftware#lastresorts
> 
> That suggested to use alien, which I did but got errors:
> 
> -{--cut here--
> 
> fakeroot alien --keep-version jdk-7u3-linux-x64.rpm
> error: incorrect format: unknown tag
> Warning: Skipping conversion of scripts in package jdk: postinst postrm
> prerm
[snip]
After more googling, found:

http://www.ubuntuupdates.org/ppa/sun_java_community_team?dist=lucid

However, even after following those To install this PPA, got same
errors.  Further examination of installed files showed:

  /usr/share/doc/sun-java6-jre/README.alternatives

whose instructions I followed:

  update-java-alternatives --jre --set java-6-sun

after which, the error about IIOP disappeared; however, some other
errors remained:

~/prog_dev/itext/rups/1.0.1 $ java -jar itext-rups-1.0.1.jar
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError:
com/itextpdf/text/DocumentException
        at com.itextpdf.rups.Rups.startApplication(Rups.java:79)
        at com.itextpdf.rups.Rups$1.run(Rups.java:55)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
.
.
.

How can this error be avoided?

TIA.

-regards,
Larry




------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to