... | ... | @@ -17,7 +17,7 @@ The @-v@ or @--verbose@ flags result in additional messages and warnings being o |
|
|
Using the @-h@ option shows all of the options:
|
|
|
|
|
|
bc.. Usage: java -jar cssembed-x.y.z.jar [options] [input file]
|
|
|
|
|
|
|
|
|
Global Options
|
|
|
-h, --help Displays this information.
|
|
|
--charset <charset> Character set of the input file.
|
... | ... | @@ -40,10 +40,32 @@ h1. Dependencies |
|
|
When downloading and using CSSEmbed, you can download one of two files:
|
|
|
|
|
|
@cssembed-x.y.z.jar@ contains all of the dependencies necessary to run CSSEmbed. You can simply run this on the command line and everything will work.
|
|
|
|
|
|
|
|
|
@cssembed-core-x.y.z.jar@ contains just CSSEmbed and so you'll need to add the dependencies manually to the classpath. There are two dependencies:
|
|
|
* "Jargs 1.0":http://jargs.sourceforge.net/ (@jargs-1.0.jar@)
|
|
|
* "DataURI 0.1.1":http://github.com/nzakas/datauri/downloads (@datauri-0.1.1.jar@)
|
|
|
* "DataURI 0.2.0":http://github.com/nzakas/datauri/downloads (@datauri-0.2.0.jar@)
|
|
|
|
|
|
h1. Troubleshooting
|
|
|
|
|
|
h2. I get a java.lang.UnsupportedClassVersionError message
|
|
|
|
|
|
You may get encounter an error such as this:
|
|
|
|
|
|
bc.. Exception in thread “main” java.lang.UnsupportedClassVersionError: Bad version number in .class file
|
|
|
at java.lang.ClassLoader.defineClass1(Native Method)
|
|
|
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
|
|
|
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
|
|
|
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
|
|
|
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
|
|
|
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
|
|
|
at java.security.AccessController.doPrivileged(Native Method)
|
|
|
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
|
|
|
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
|
|
|
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
|
|
|
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
|
|
|
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
|
|
|
|
|
|
p. This means that you're attempting to run CSSEmbed on an earlier version of the JVM. CSSEmbed requires Java 1.5 to execute.
|
|
|
|
|
|
h1. Copyright and License
|
|
|
|
... | ... | |