Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #19390

Re: can't find in classpath, but only when running from the jar file

From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: can't find in classpath, but only when running from the jar file
Date 2012-10-15 19:43 -0700
Organization Canadian Mind Products
Message-ID <66ip78502o3l3htj21lk7fve8mlj0emddn@4ax.com> (permalink)
References <4a7b7c26-806b-4a3d-8fed-f56e35ba8d76@googlegroups.com>

Show all headers | View raw


On Mon, 15 Oct 2012 07:56:44 -0700 (PDT), Stryder
<stryder100@gmail.com> wrote, quoted or indirectly quoted someone who
said :

>
>Obviously I'm missing something.  Any help would very much be appreciated.

see http://mindprod.com/jgloss/jar.html
http://mindprod.com/jgloss/jarexe.html

Jars ignore the SET=classpath.  You need to put a classpath inside the
jar with a Class-Path attribute in the manifest.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
The iPhone 5 is a low end Rolex. 

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

can't find in classpath, but only when running from the jar file Stryder <stryder100@gmail.com> - 2012-10-15 07:56 -0700
  Re: can't find in classpath, but only when running from the jar file Jeff Higgins <jeff@invalid.invalid> - 2012-10-15 11:22 -0400
    Re: can't find in classpath, but only when running from the jar file Jeff Higgins <jeff@invalid.invalid> - 2012-10-15 11:31 -0400
    Re: can't find in classpath, but only when running from the jar file Jeff Higgins <jeff@invalid.invalid> - 2012-10-15 11:51 -0400
      Re: can't find in classpath, but only when running from the jar file Nigel Wade <nmw@ion.le.ac.uk> - 2012-10-15 17:04 +0100
      Re: can't find in classpath, but only when running from the jar file Lew <lewbloch@gmail.com> - 2012-10-15 09:16 -0700
      Re: can't find in classpath, but only when running from the jar file Jeff Higgins <jeff@invalid.invalid> - 2012-10-15 13:00 -0400
  Re: can't find in classpath, but only when running from the jar file Roedy Green <see_website@mindprod.com.invalid> - 2012-10-15 19:43 -0700
  Re: can't find in classpath, but only when running from the jar file Arne Vajhoej <arne@vajhoej.dk> - 2012-10-17 11:52 -0400

csiph-web