[prev in list] [next in list] [prev in thread] [next in thread] 

List:       portmaster-users
Subject:    Re: (PM) java error running pmvision
From:       "Jake Messinger" <jake () portmasters ! com>
Date:       2002-05-29 20:07:34
[Download RAW message or body]

MAKE SURE you upgrade to 4 megs ram FIRST before going to 3.9 or higher.


----- Original Message -----
From: "Mike Robinson" <mike@dvfmv.com>
To: "Thomas C Kinnen" <tkinnen@lucentradius.com>
Cc: <portmaster-users@portmasters.com>
Sent: Wednesday, May 29, 2002 4:08 PM
Subject: Re: (PM) java error running pmvision


> Success! Thank you Tom!
>
> I assume that the last line of your script is what did it. I'm guessing
> that the 1.4 version of java doesn't like being called this way: $JAVA
> -cp pmvision.jar -cp pmvhelp.jar -cp $help_loc -cp $oro_loc PMVision $*.
> And prefers: $JAVA -cp pmvision.jar:pmvhelp.jar:$help_loc:$oro_loc
> PMVision $*. That's the only difference between the original pmvision
> script, except for my addition of the JAVA path variable at the top.
>
> I guess my next project is to attempt to upgrade ComOS, so I can take
> advantage of the newer features. Am at ComOS 3.7.2R now, which is what
> it came with.
>
> Thanks again.
>
> On Wed, 2002-05-29 at 08:21, Thomas C Kinnen wrote:
> > On 28 May 2002, Mike Robinson wrote:
> >
> > > I made a variable at the top of the pmvision file:
> > > JAVA=/usr/java/j2re1.4.0/bin/java and replaced the call to jre with
> > > $JAVA, before I posted to the list. According to the java man page -cp
> > > and -classpath are equivalent. This is the error that I get: Exception
> > > in thread "main" java.lang.NoClassDefFoundError: PMVision. Do I need
to
> > > add a PATH statement including the path to java and the pmvision dir?
> >
> > No, but you may need to make sure the classpath is setup correctly.  I
> > use:
> >
> > #!/bin/sh
> > cd /usr/local/portmaster/PMVision
> > if [ -s ../helpsys.jar ]
> > then
> >         help_loc=../helpsys.jar
> > else
> >         help_loc=./helpsys.jar
> > fi
> > if [ -s ../oromatcher.jar ]
> > then
> >         oro_loc=../oromatcher.jar
> > else
> >         oro_loc=./oromatcher.jar
> > fi
> > java -cp pmvision.jar:pmvhelp.jar:$help_loc:$oro_loc PMVision $*
> >
> >
> >
> >
> > --
> > Thomas C Kinnen - RADIUS Engineer - LUCENT Technologies INS
> > NavisRadius Pre-Sales Support: tech-sales@lucentradius.com
> > NavisRadius Sales/License Questions: sales@lucentradius.com
> > NavisRadius Support: access@lucent.com -or-
http://www.lucent.com/support/
> > NavisRadius Forums:
http://www.lucentradius.com/cgi-bin/dcforum/dcboard.cgi
> > "All of the opinions stated above are my own and not my employer's,
unless
> > they were given to me by my employer"
> --
> Mike Robinson
> System/Network Administrator, Draper Valley Farms
> mike@dvfmv.com 360-424-7947
>
> -
> To unsubscribe, email 'majordomo@portmasters.com' with
> 'unsubscribe portmaster-users' in the body of the message.
> List archive: <URL:http://www.portmasters.com/archives/>
>

-
To unsubscribe, email 'majordomo@portmasters.com' with
'unsubscribe portmaster-users' in the body of the message.
List archive: <URL:http://www.portmasters.com/archives/>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic