Not Getting to "First Base"

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Not Getting to "First Base"

tlwtheq
Hi,
I'm having trouble getting activemq to start at all,

Error message is:

"Error: Could not find or load main class Files"

Note that I both my PATH and CLASSPATH variables are pointing to the requisite jars.

So what else am I missing?

Thanks,
Tara
Reply | Threaded
Open this post in threaded view
|

Re: Not Getting to "First Base"

Tim Bain
Are you running Windows with a space in one of your directory names?  The
first two search results I got when I Googled for your error message relate
to problems starting from a path with a space.

On Tue, Dec 23, 2014 at 8:28 AM, tlwtheq <[hidden email]> wrote:

> Hi,
> I'm having trouble getting activemq to start at all,
>
> Error message is:
>
> "Error: Could not find or load main class Files"
>
> Note that I both my PATH and CLASSPATH variables are pointing to the
> requisite jars.
>
> So what else am I missing?
>
> Thanks,
> Tara
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Not-Getting-to-First-Base-tp4689208.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Not Getting to "First Base"

tlwtheq
Yes, I am running with path name
C:\Program Files (x86)\apache-activemq-5.10.0\bin\activemq  .

How else would I execute?  I know Windows used to have nicknames for such directories
as "Program Files (x86)" but it doesn't seem to have that now.   (Or does it?  Pardon me,
I'm not a really bid proponent of Windows. Would rather be trying this on a Linux box,
but I don't have that option.  :)  )

Even using an Explorer window and clicking on the activemq.bat yields the same error.
Reply | Threaded
Open this post in threaded view
|

Re: Not Getting to "First Base"

Tim Bain
As I understand it, extended Windows paths always have an eight-character
short version formed by the first N characters (usually 6) plus ~ and one
or more digits.  Usually "Program Files" was "PROGRA~1" (you can confirm
that by doing "dir C:\PROGRA~1" and seeing if it matches; if not, try
PROGRA~2, PROGRA~3, etc. till you find it), so you could try specifying the
path that way.

Tim

On Tue, Dec 23, 2014 at 11:09 AM, tlwtheq <[hidden email]>
wrote:

> Yes, I am running with path name
> C:\Program Files (x86)\apache-activemq-5.10.0\bin\activemq  .
>
> How else would I execute?  I know Windows used to have nicknames for such
> directories
> as "Program Files (x86)" but it doesn't seem to have that now.   (Or does
> it?  Pardon me,
> I'm not a really bid proponent of Windows. Would rather be trying this on a
> Linux box,
> but I don't have that option.  :)  )
>
> Even using an Explorer window and clicking on the activemq.bat yields the
> same error.
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Not-Getting-to-First-Base-tp4689208p4689219.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>