Hi. I decided to build a jarSmall on one of my machines running
openSUSE 11.0 that I also use for development and hit an error
compiling the jarSmall for 1.1.116

Linux:~/Desktop/h2> ./build.sh jarSmall
Target: jarSmall
Deleting temp
Deleting docs
Downloading 
http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar
Downloaded 30428 bytes
Downloaded 44449 bytes
Downloaded 66349 bytes
Downloaded 89709 bytes
Downloading 
http://repo1.maven.org/maven2/org/apache/lucene/lucene-core/2.2.0/lucene-core-2.2.0.jar
Downloaded 21667 bytes
Downloaded 36267 bytes
Downloaded 47947 bytes
Downloaded 71307 bytes
Downloaded 94667 bytes
Downloaded 118027 bytes
Downloaded 141387 bytes
Downloaded 164747 bytes
Downloaded 186647 bytesth...@gernux
Downloaded 195407 bytes
Downloaded 215847 bytes
Downloaded 239207 bytesth...@gernux
Downloaded 256727 bytes
Downloaded 272787 bytes
Downloaded 296147 bytes
Downloaded 318047 bytes
Downloaded 341407 bytes
Downloaded 364767 bytes
Downloaded 388127 bytes
Downloaded 411487 bytes
Downloaded 434847 bytes
Downloaded 458207 bytes
Downloaded 481567 bytes
Downloaded 504927 bytes
Downloaded 528287 bytes
Downloading 
http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar
Downloading 
http://repo1.maven.org/maven2/org/apache/felix/org.osgi.core/1.2.0/org.osgi.core-1.2.0.jar
Downloaded 17288 bytes
Downloaded 42108 bytes
Compiling 535 classes
java.lang.ClassNotFoundException: com.sun.tools.javac.Main
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at org.h2.build.BuildBase.javac(BuildBase.java:732)
        at org.h2.build.Build.compile(Build.java:161)
        at org.h2.build.Build.jarSmall(Build.java:337)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.h2.build.BuildBase.invoke(BuildBase.java:203)
        at org.h2.build.BuildBase.run(BuildBase.java:193)
        at org.h2.build.Build.main(Build.java:31)
javac -g:none -d temp -sourcepath src/main -classpath temp:ext/servlet-
api-2.4.jar:ext/lucene-core-2.2.0.jar:ext/slf4j-api-1.5.0.jar:ext/
org.osgi.core-1.2.0.jar:/usr/lib/jvm/java-1.6.0-sun-1.6.0/jre/../lib/
tools.jar
javac: no source files
Usage: javac <options> <source files>
use -help for a list of possible options
Exception in thread "main" java.lang.Error: An error occurred
        at org.h2.build.BuildBase.javac(BuildBase.java:743)
        at org.h2.build.Build.compile(Build.java:161)
        at org.h2.build.Build.jarSmall(Build.java:337)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.h2.build.BuildBase.invoke(BuildBase.java:203)
        at org.h2.build.BuildBase.run(BuildBase.java:193)
        at org.h2.build.Build.main(Build.java:31)

I did a java -version:
Linux:~/Desktop/h2> java -version
java version "1.6.0_14"
Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode)

I actually have a successful jarSmall build while running it on
LinuxMint 6 distro last weekend on my main development machine for the
same H2 version.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to