You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Kathey Marsden <km...@sbcglobal.net> on 2010/10/08 23:36:39 UTC
Should sysinfo be in derbynet.jar
I had thought that sysinfo was in all the jars, but see the actual
sysinfo class is not in derbynet.jar (Although supporting classes and
resources are.). Should it be there? If it is alone in a directory I get:
$ java -cp derbynet.jar org.apache.derby.tools.sysinfo
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.derby.tool
s.sysinfo
Caused by: java.lang.ClassNotFoundException: org.apache.derby.tools.sysinfo
at java.net.URLClassLoader.findClass(URLClassLoader.java:423)
at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)
at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
Could not find the main class: org.apache.derby.tools.sysinfo. Program
will exi
t.
2833 Tue Sep 28 14:30:14 PDT 2010
org/apache/derby/loc/sysinfoMessages.propert
ies
584 Tue Sep 28 14:30:14 PDT 2010
org/apache/derby/impl/tools/sysinfo/Main$1.c
lass
758 Tue Sep 28 14:30:14 PDT 2010
org/apache/derby/impl/tools/sysinfo/Main$2.c
lass
874 Tue Sep 28 14:30:14 PDT 2010
org/apache/derby/impl/tools/sysinfo/Main$3.c
lass
828 Tue Sep 28 14:30:14 PDT 2010
org/apache/derby/impl/tools/sysinfo/Main$4.c
lass
808 Tue Sep 28 14:30:14 PDT 2010
org/apache/derby/impl/tools/sysinfo/Main$5.c
lass
1044 Tue Sep 28 14:30:14 PDT 2010
org/apache/derby/impl/tools/sysinfo/Main$6.c
lass
1581 Tue Sep 28 14:30:14 PDT 2010
org/apache/derby/impl/tools/sysinfo/Main$7.c
lass
20374 Tue Sep 28 14:30:14 PDT 2010
org/apache/derby/impl/tools/sysinfo/Main.cla
ss
1554 Tue Sep 28 14:30:14 PDT 2010
org/apache/derby/impl/tools/sysinfo/ZipInfoP
roperties.class
Re: Should sysinfo be in derbynet.jar
Posted by Lily Wei <li...@yahoo.com>.
I am for sysinfo to be in derbynet.jar too.
+1
Lily
Sent from my iPhone
On Oct 9, 2010, at 9:03 AM, dag.wanvik@oracle.com (Dag H. Wanvik) wrote:
> Kathey Marsden <km...@sbcglobal.net> writes:
>
>
>> I had thought that sysinfo was in all the jars, but see the actual
>> sysinfo class is not in derbynet.jar (Although supporting classes and
>> resources are.). Should it be there? If it is alone in a directory I
>
> I can see this as being useful. If there is no special reason why it
> hasn't been included there, I am +1.
>
> Dag
>
Re: Should sysinfo be in derbynet.jar
Posted by "Dag H. Wanvik" <da...@oracle.com>.
Kathey Marsden <km...@sbcglobal.net> writes:
> I had thought that sysinfo was in all the jars, but see the actual
> sysinfo class is not in derbynet.jar (Although supporting classes and
> resources are.). Should it be there? If it is alone in a directory I
I can see this as being useful. If there is no special reason why it
hasn't been included there, I am +1.
Dag
Re: Should sysinfo be in derbynet.jar
Posted by Rick Hillegas <ri...@oracle.com>.
I think the intention is that you should be able to run sysinfo on any
jar file by itself. Don't remember the motivation for that behavior, but
that seems to be the expectation.
Regards,
-Rick
Kathey Marsden wrote:
> I had thought that sysinfo was in all the jars, but see the actual
> sysinfo class is not in derbynet.jar (Although supporting classes and
> resources are.). Should it be there? If it is alone in a directory I
> get:
>
> $ java -cp derbynet.jar org.apache.derby.tools.sysinfo
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org.apache.derby.tool
> s.sysinfo
> Caused by: java.lang.ClassNotFoundException:
> org.apache.derby.tools.sysinfo
> at java.net.URLClassLoader.findClass(URLClassLoader.java:423)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:346)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
> Could not find the main class: org.apache.derby.tools.sysinfo.
> Program will exi
> t.
>
>
> 2833 Tue Sep 28 14:30:14 PDT 2010
> org/apache/derby/loc/sysinfoMessages.propert
> ies
> 584 Tue Sep 28 14:30:14 PDT 2010
> org/apache/derby/impl/tools/sysinfo/Main$1.c
> lass
> 758 Tue Sep 28 14:30:14 PDT 2010
> org/apache/derby/impl/tools/sysinfo/Main$2.c
> lass
> 874 Tue Sep 28 14:30:14 PDT 2010
> org/apache/derby/impl/tools/sysinfo/Main$3.c
> lass
> 828 Tue Sep 28 14:30:14 PDT 2010
> org/apache/derby/impl/tools/sysinfo/Main$4.c
> lass
> 808 Tue Sep 28 14:30:14 PDT 2010
> org/apache/derby/impl/tools/sysinfo/Main$5.c
> lass
> 1044 Tue Sep 28 14:30:14 PDT 2010
> org/apache/derby/impl/tools/sysinfo/Main$6.c
> lass
> 1581 Tue Sep 28 14:30:14 PDT 2010
> org/apache/derby/impl/tools/sysinfo/Main$7.c
> lass
> 20374 Tue Sep 28 14:30:14 PDT 2010
> org/apache/derby/impl/tools/sysinfo/Main.cla
> ss
> 1554 Tue Sep 28 14:30:14 PDT 2010
> org/apache/derby/impl/tools/sysinfo/ZipInfoP
> roperties.class
>
>