[Cs-dev] Calling docbook experts
Date | 2013-07-31 14:07 |
From | john ffitch |
Subject | [Cs-dev] Calling docbook experts |
I can build the cs6 html manual but not the pdf. Crashes on fop.sh -fo Csound6.00_manual_A4.fo -pdf Csound6.00_manual_A4.pdf Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/avalon/framework/configuration/ConfigurationException : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at org.apache.fop.apps.FopFactory. |
Date | 2013-07-31 14:12 |
From | Steven Yi |
Subject | Re: [Cs-dev] Calling docbook experts |
Attachments | None None |
That looks like a java version problem. What version of java are you using? ("java -version"). Solution would be to use an earlier fop build or later java version I think. On Jul 31, 2013 3:08 PM, "john ffitch" <jpff@codemist.co.uk> wrote:
I can build the cs6 html manual but not the pdf. Crashes on |
Date | 2013-07-31 14:48 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Calling docbook experts |
> That looks like a java version problem. What version of java are you > using? > ("java -version"). Solution would be to use an earlier fop build or later > java version I think. java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.4) (suse-0.17.1-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) I am just using whatever is packaged. There is no fop.sh provided so I have a copy of /usr/bin/fop called fop.sh ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-07-31 16:15 |
From | PINOT Francois |
Subject | Re: [Cs-dev] Calling docbook experts |
Hello John, I can build all the manual packages this evening. Three examples are missing : genarray.csd, genarray_i.csd, and readscratch.csd. When those examples are commited Ican generate the corresponding xml files and build the packages. Regards Francois Le 31/07/2013 15:48, jpff@cs.bath.ac.uk a écrit : >> That looks like a java version problem. What version of java are you >> using? >> ("java -version"). Solution would be to use an earlier fop build or later >> java version I think. > java version "1.6.0_24" > OpenJDK Runtime Environment (IcedTea6 1.11.4) (suse-0.17.1-x86_64) > OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) > > I am just using whatever is packaged. There is no fop.sh provided so I > have a copy of /usr/bin/fop called fop.sh > > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-07-31 17:06 |
From | Steven Yi |
Subject | Re: [Cs-dev] Calling docbook experts |
I checked and class version 51 is for Java 7 and up: http://stackoverflow.com/questions/10382929/unsupported-major-minor-version-51-0 You'll need to update the JVM used. There should be an openjdk7 or openjre7 release available (not sure if you're on SuSE or Debian at the moment). If you have jdk7 already installed, you may need to update alternatives to point to the java 7 version of tools instaed of java 6. On Wed, Jul 31, 2013 at 3:48 PM, |
Date | 2013-07-31 17:21 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Calling docbook experts |
I had java 7 installed; change alternatives and ....no change java version "1.7.0_21" OpenJDK Runtime Environment (IcedTea 2.3.9) (suse-3.37.1-x86_64) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode) Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/avalon/framework/configuration/ConfigurationException : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at org.apache.fop.apps.FopFactory. |
Date | 2013-07-31 17:28 |
From | Steven Yi |
Subject | Re: [Cs-dev] Calling docbook experts |
I looked at the fop script and it looks like it uses JAVA_HOME enI looked at the fop script and it looks like it uses the JAVA_HOME environment variable. Is that maybe set still to the Java 6 directory? On Wed, Jul 31, 2013 at 6:21 PM, |
Date | 2013-07-31 17:41 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] Calling docbook experts |
> I looked at the fop script and it looks like it uses JAVA_HOME enI > looked at the fop script and it looks like it uses the JAVA_HOME > environment variable. Is that maybe set still to the Java 6 > directory? > No idea JAVA_BINDIR=/usr/java/latest/bin JAVA_HOME=/usr/java/latest JAVA_ROOT=/usr/java/latest ls -l /usr/java/latest lrwxrwxrwx 1 root root 21 Nov 12 2009 /usr/java/latest -> /usr/java/jre1.6.0_17/ so updating the alternative is insufficient? This is reinforcing my views on java. Never mind -- time to leave it to others. The real issue is that the project is currently lacking a manual boss ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2013-07-31 17:56 |
From | Steven Yi |
Subject | Re: [Cs-dev] Calling docbook experts |
Well if it's just a symlink to change, then just replace the link and point it to the jdk7 or jre7 directory. On Wed, Jul 31, 2013 at 6:41 PM, |