Error: Unable to access jarfile NetRexxF.jar

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

Error: Unable to access jarfile NetRexxF.jar

Gil Blais
Hi, Gil Blais here. New to NetRexx and cannot seem to place the NetRexxC.jar and NetRexxF.jar files anywhere they can always be found by JAVA, unless it is in the same directory as the cmd.exe I am running.

I have put both of them in ALL of these places:
C:\Program Files\Java\jdk1.8.0\lib
C:\Program Files\Java\jdk1.8.0\jre\lib
C:\Program Files\Java\jdk1.8.0\jre\lib\ext
C:\Program Files\Java\jre8\lib
C:\Program Files\Java\jre8\lib\ext
C:\NetRexx\lib

CLASSPATH=C:\Program Files\Java\jdk1.8.0\jre\lib;C:\Program Files\Java\jdk1.8.0\lib;C:\NetRexx\lib;

PATH=C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Windows\system32
\windowspowershell\v1.0\;C:\Program Files\Java\jdk1.8.0\jre\bin;C:\Program Files
\Java\jdk1.8.0\bin;C:\xampp\php;C:\ProgramData\Composer\bin;C:\NetRexx\bin;

Any help is appreciated

Regards
Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Gil Blais
I found that the only way that I could get it to run is: (running from the C:\NetRexx\lib directory)

java -jar C:\NetRexx\lib\src\NetRexxF.jar src\%* -sourcedir -keepasjava -replace -format -nocrossref

putting the full path right onto the java command line.

Hope that helps someone else cuz it had a definite pain level for me.....
Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Kermit Kiser
In reply to this post by Gil Blais
Hi Gil --

Are you also new to Java? If so, one thing you will need to know is that
the Java classpath does not work like the windows path. Normally, in
order to find a jar file from the classpath, the jar file has to be
explicitly named in the classpath like this:

CLASSPATH=C:\Program Files\Java\jdk1.8.0\lib\NetRexxF.jar

Since Java 6 it has been possible to "wildcard" the jar files in a directory like this:

CLASSPATH="C:\Program Files\Java\jdk1.8.0\lib\*"

But note that with wildcards the classpath needs to be enclosed in
quotes to prevent the command environment from incorrectly expanding the
paths. The classpath variable is deprecated nowadays in favor of the
-classpath operand but the complete if somewhat complex rules can be
found here:

http://docs.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html

I don't know if that will help with your issue or not. If you need
further help, please indicate what command you used and what error
messages you received.

-- Kermit


On 5/26/2014 2:55 PM, Gil Blais wrote:

> Hi, Gil Blais here. New to NetRexx and cannot seem to place the NetRexxC.jar
> and NetRexxF.jar files anywhere they can always be found by JAVA, unless it
> is in the same directory as the cmd.exe I am running.
>
> I have put both of them in ALL of these places:
> C:\Program Files\Java\jdk1.8.0\lib
> C:\Program Files\Java\jdk1.8.0\jre\lib
> C:\Program Files\Java\jdk1.8.0\jre\lib\ext
> C:\Program Files\Java\jre8\lib
> C:\Program Files\Java\jre8\lib\ext
> C:\NetRexx\lib
>
> CLASSPATH=C:\Program Files\Java\jdk1.8.0\jre\lib;C:\Program
> Files\Java\jdk1.8.0\lib;C:\NetRexx\lib;
>
> PATH=C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Windows\system32
> \windowspowershell\v1.0\;C:\Program Files\Java\jdk1.8.0\jre\bin;C:\Program
> Files
> \Java\jdk1.8.0\bin;C:\xampp\php;C:\ProgramData\Composer\bin;C:\NetRexx\bin;
>
> Any help is appreciated
>
> Regards
>
>
>
>
> --
> View this message in context: http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRexxF-jar-tp4027085.html
> Sent from the ibm-netrexx mailing list archive at Nabble.com.
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Kermit Kiser
In reply to this post by Gil Blais
Oops! I forgot to mention one very important and evidently secret piece
of Java information you need to know:

If you use a command starting with "java -jar" as you indicated below,
Java will discard ALL classpath information whether from the CLASSPATH
variable or from the -classpath operand! For that reason, I strongly
recommend that you NOT use the command format "java -jar". Instead use
something like this to start NetRexx:

java org.netrexx.process.NetRexxC -keepasjava -replace -format
-nocrossref myprogram


On 5/26/2014 7:17 PM, Gil Blais wrote:

> I found that the only way that I could get it to run is: (running from the
> C:\NetRexx\lib directory)
>
> java -jar C:\NetRexx\lib\src\NetRexxF.jar src\%* -sourcedir -keepasjava
> -replace -format -nocrossref
>
> putting the full path right onto the java command line.
>
> Hope that helps someone else cuz it had a definite pain level for me.....
>
>
>
> --
> View this message in context: http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRexxF-jar-tp4027085p4027087.html
> Sent from the ibm-netrexx mailing list archive at Nabble.com.
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>
>
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Gil Blais
In reply to this post by Gil Blais
Good morning Kermit, Gil here. I have done as you suggested and have these results:

C:\NetRexx\lib>echo %classpath%
"C:\Program Files\Java\jdk1.8.0\lib\*"

C:\NetRexx\lib>dir C:\Program Files\Java\jdk1.8.0\lib\*.jar  <<== notice no dquotes
The system cannot find the path specified.

C:\NetRexx\lib>dir "C:\Program Files\Java\jdk1.8.0\lib\*.jar"
 Volume in drive C is eMachines
 Volume Serial Number is 14B7-A0CD

 Directory of C:\Program Files\Java\jdk1.8.0\lib

02/02/2014  06:58 PM           450,961 ant-javafx.jar
02/02/2014  06:58 PM           147,558 dt.jar
02/02/2014  06:58 PM            36,040 javafx-mx.jar
02/02/2014  06:58 PM           408,017 jconsole.jar
05/23/2014  06:11 PM           322,449 NetRexxC.jar
05/23/2014  06:11 PM         2,606,594 NetRexxF.jar
02/02/2014  06:58 PM         2,263,410 sa-jdi.jar
02/02/2014  06:59 PM        18,074,165 tools.jar
               8 File(s)     24,309,194 bytes
               0 Dir(s)  28,108,161,024 bytes free

C:\NetRexx\lib>java -jar NetRexxF.jar src\hello -sourcedir -keepasjava –replace -format -nocrossref
Error: Unable to access jarfile NetRexxF.jar
Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Kermit Kiser
Hi Gil --

I sent a second message but perhaps I was unclear or you missed it. To reiterate, if you use the command "java -jar", Java will ignore ALL class path information and you will have to specify the full path to NetRexxF.jar or change to that directory to run the command. Can you explain why you are using " java -jar NetRexxF.jar" rather than the normal "java org.NetRexx.process.NetRexxC" to start NetRexx?

-- Kermit

On May 27, 2014 2:07:10 AM PDT, Gil Blais <[hidden email]> wrote:
Good morning Kermit, Gil here. I have done as you suggested and have these
results:

C:\NetRexx\lib>echo %classpath%
"C:\Program Files\Java\jdk1.8.0\lib\*"

C:\NetRexx\lib>dir C:\Program Files\Java\jdk1.8.0\lib\*.jar <<== notice no
dquotes
The system cannot find the path specified.

C:\NetRexx\lib>dir "C:\Program Files\Java\jdk1.8.0\lib\*.jar"
Volume in drive C is eMachines
Volume Serial Number is 14B7-A0CD

Directory of C:\Program Files\Java\jdk1.8.0\lib

02/02/2014 06:58 PM 450,961 ant-javafx.jar
02/02/2014 06:58 PM 147,558 dt.jar
02/02/2014 06:58 PM 36,040 javafx-mx.jar
02/02/2014 06:58 PM 408,017 jconsole.jar
05/23/2014 06:11 PM 322,449 NetRexxC.jar
05/23/2014 06:11 PM 2,606,594 NetRexxF.jar
02/02/2014 06:58 PM 2,263,410 sa-jdi.jar
02/02/2014 06:! 59 PM 18,074,165 tools.jar
8 File(s) 24,309,194 bytes
0 Dir(s) 28,108,161,024 bytes free

C:\NetRexx\lib>java -jar NetRexxF.jar src\hello -sourcedir -keepasjava
–replace -format -nocrossref
Error: Unable to access jarfile NetRexxF.jar




--
View this message in context: http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRexxF-jar-tp4027085p4027090.html
Sent from the ibm-netrexx mailing list archive at Nabble.com.



Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/


--
Sent from my Android tablet with K-9 Mail.
_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Gil Blais
In reply to this post by Gil Blais
Hi Kermit. Here are the results of the latest run:

C:\NetRexx\lib>java org.netrexx.process.NetRexxC src\hello
Error: Could not find or load main class org.netrexx.process.NetRexxC

When I ran this sequence, the NetRexxC.jar file was in the same directory as my cmd.exe (C:\NetRexx\lib)


Where do I have to house the NetRexxC.jar file to make this work as you suggested?

Gil
Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

ThSITC
In reply to this post by Gil Blais
Am having ther *same problem here* ... Thomas.
=====================================================
Am 26.05.2014 23:55, schrieb Gil Blais:

> Hi, Gil Blais here. New to NetRexx and cannot seem to place the NetRexxC.jar
> and NetRexxF.jar files anywhere they can always be found by JAVA, unless it
> is in the same directory as the cmd.exe I am running.
>
> I have put both of them in ALL of these places:
> C:\Program Files\Java\jdk1.8.0\lib
> C:\Program Files\Java\jdk1.8.0\jre\lib
> C:\Program Files\Java\jdk1.8.0\jre\lib\ext
> C:\Program Files\Java\jre8\lib
> C:\Program Files\Java\jre8\lib\ext
> C:\NetRexx\lib
>
> CLASSPATH=C:\Program Files\Java\jdk1.8.0\jre\lib;C:\Program
> Files\Java\jdk1.8.0\lib;C:\NetRexx\lib;
>
> PATH=C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Windows\system32
> \windowspowershell\v1.0\;C:\Program Files\Java\jdk1.8.0\jre\bin;C:\Program
> Files
> \Java\jdk1.8.0\bin;C:\xampp\php;C:\ProgramData\Composer\bin;C:\NetRexx\bin;
>
> Any help is appreciated
>
> Regards
>
>
>
>
> --
> View this message in context: http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRexxF-jar-tp4027085.html
> Sent from the ibm-netrexx mailing list archive at Nabble.com.
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

ThSITC
In reply to this post by Kermit Kiser
Whoops !

1.) Thanks, Kermit, for upgraing my so limited java knowledge! :-)
2.) I *personally* think, after havind read now the programming guide
3.02 and 3.03, that:

**********************************************************************************************
* a NewBe does now have too many different options, with too many very
low level
* commands in the programming guide ...
*
-------------------------------------------------------------------------------------------------------------*
* Didn't we talk about *human* beeings when designing any&all features
of the
* various variants of the Rexx Family of Languages ... ?
*
* Nowadays, after reading the Installation Section of the Programmers Guide
* I think You have to be actually a *Java expert* to get NetRexx running
on Your machine!
*
* When I was Young, we always did say: KISS: Keep it simple, stupid ;-)
**********************************************************************************************

KISSes, Thomas.
============================================================

Am 27.05.2014 06:50, schrieb Kermit Kiser:

> Oops! I forgot to mention one very important and evidently secret
> piece of Java information you need to know:
>
> If you use a command starting with "java -jar" as you indicated below,
> Java will discard ALL classpath information whether from the CLASSPATH
> variable or from the -classpath operand! For that reason, I strongly
> recommend that you NOT use the command format "java -jar". Instead use
> something like this to start NetRexx:
>
> java org.netrexx.process.NetRexxC -keepasjava -replace -format
> -nocrossref myprogram
>
>
> On 5/26/2014 7:17 PM, Gil Blais wrote:
>> I found that the only way that I could get it to run is: (running
>> from the
>> C:\NetRexx\lib directory)
>>
>> java -jar C:\NetRexx\lib\src\NetRexxF.jar src\%* -sourcedir -keepasjava
>> -replace -format -nocrossref
>>
>> putting the full path right onto the java command line.
>>
>> Hope that helps someone else cuz it had a definite pain level for
>> me.....
>>
>>
>>
>> --
>> View this message in context:
>> http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRexxF-jar-tp4027085p4027087.html
>> Sent from the ibm-netrexx mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Ibm-netrexx mailing list
>> [hidden email]
>> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>>
>>
>>
>
> _______________________________________________
> Ibm-netrexx mailing list
> [hidden email]
> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
>

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

ThSITC
In reply to this post by Kermit Kiser
... probably because it is in the *Programming Guide* !!!!
============================================================

Am 27.05.2014 11:37, schrieb Kermit Kiser:
Hi Gil --

I sent a second message but perhaps I was unclear or you missed it. To reiterate, if you use the command "java -jar", Java will ignore ALL class path information and you will have to specify the full path to NetRexxF.jar or change to that directory to run the command. Can you explain why you are using " java -jar NetRexxF.jar" rather than the normal "java org.NetRexx.process.NetRexxC" to start NetRexx?

-- Kermit

On May 27, 2014 2:07:10 AM PDT, Gil Blais [hidden email] wrote:
Good morning Kermit, Gil here. I have done as you suggested and have these
results:

C:\NetRexx\lib>echo %classpath%
"C:\Program Files\Java\jdk1.8.0\lib\*"

C:\NetRexx\lib>dir C:\Program Files\Java\jdk1.8.0\lib\*.jar  <<== notice no
dquotes
The system cannot find the path specified.

C:\NetRexx\lib>dir "C:\Program Files\Java\jdk1.8.0\lib\*.jar"
 Volume in drive C is eMachines
 Volume Serial Number is 14B7-A0CD

 Directory of C:\Program Files\Java\jdk1.8.0\lib

02/02/2014  06:58 PM           450,961 ant-javafx.jar
02/02/2014  06:58 PM           147,558 dt.jar
02/02/2014  06:58 PM            36,040 javafx-mx.jar
02/02/2014  06:58 PM           408,017 jconsole.jar
05/23/2014  06:11 PM           322,449 NetRexxC.jar
05/23/2014  06:11 PM         2,606,594 NetRexxF.jar
02/02/2014  06:58 PM         2,263,410 sa-jdi.jar
02/02/2014  06:!
 59 PM   
    18,074,165 tools.jar
               8 File(s)     24,309,194 bytes
               0 Dir(s)  28,108,161,024 bytes free

C:\NetRexx\lib>java -jar NetRexxF.jar src\hello -sourcedir -keepasjava
–replace -format -nocrossref
Error: Unable to access jarfile NetRexxF.jar




--
View this message in context: http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRexxF-jar-tp4027085p4027090.html
Sent from the ibm-netrexx mailing list archive at Nabble.com.


Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

--
Sent from my Android tablet with K-9 Mail.

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com
Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Dave Woodman
In reply to this post by Gil Blais
Hi Gil.

Even though your NetRexxC.jar is in your current directory you still need to
tell java where to find it

So, in your case, adding the -cp .\NetRexxC.jar should fix it.

i.e.

java -cp .\NetRexxC.jar org.netrexx.process.NetRexxC

Gives...

NetRexx portable processor NetRexx 3.02, build 172-20130625-1742
Copyright (c) RexxLA, 2011,2013.  All rights reserved.
Parts Copyright (c) IBM Corporation, 1995,2008.

Arguments are: in_file_specification... [-option]...

In brief, NetRexxC-specific options are:

  -arg words     -- interpret; remaining words are arguments
  -compile       -- compile (default; -nocompile implies -keep)
  -console       -- display messages on console (default)
  -exec          -- interpret with no argument words
  -keep          -- keep any completed .java file (as xxx.java.keep)
  -keepasjava    -- keep any completed .java file (as xxx.java)
  -prompt        -- prompt for new request after processing
  -savelog       -- save messages in NetRexxC.log
  -time          -- display timings
  -warnexit0     -- exit with a zero returncode on warnings

Any NetRexx options may also be added; these are:

  -binary        -- all classes are binary classes
  -comments      -- copy comments across to generated .java
  -compact       -- display error messages in compact form
  -crossref      -- generate cross-reference listing
  -decimal       -- allow implicit decimal arithmetic
  -diag          -- show diagnostic messages
  -explicit      -- local variables must be explicitly declared
  -java          -- generate Java source code for this program
  -logo          -- display logo (banner) after starting
  -format        -- format output file (pretty-print)
  -replace       -- replace .java file even if it exists
  -sourcedir     -- force output files to source directory
  -strictargs    -- empty argument lists must be specified as ()
  -strictassign  -- assignment must be cost-free
  -strictcase    -- names must match in case
  -strictimport  -- all imports must be explicit
  -strictmethods -- superclass methods are not compared to local methods for
best match
  -strictprops   -- even local properties must be qualified
  -strictsignal  -- signals list must be explicit
  -symbols       -- include symbols table in generated .class files
  -trace[n]      -- trace stream [1 or 2], or 0 for NOTRACE
  -utf8          -- source file is in UTF8 encoding
  -verbose[n]    -- verbosity of progress reports [0-5]

All options may have prefix 'no' added for the inverse effect.

Please see the NetRexx Language definition at
http://www.netrexx.org/files/nrl3.pdf for more details.

        Dave

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Gil Blais
Sent: 27 May 2014 11:00
To: [hidden email]
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar

Hi Kermit. Here are the results of the latest run:

C:\NetRexx\lib>java org.netrexx.process.NetRexxC src\hello
Error: Could not find or load main class org.netrexx.process.NetRexxC

When I ran this sequence, the NetRexxC.jar file was in the same directory as
my cmd.exe (C:\NetRexx\lib)


Where do I have to house the NetRexxC.jar file to make this work as you
suggested?

Gil




--
View this message in context:
http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRe
xxF-jar-tp4027085p4027093.html
Sent from the ibm-netrexx mailing list archive at Nabble.com.

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Dave Woodman
In reply to this post by Gil Blais
I meant, of course,   -cp .\NetRexxF.jar

-----Original Message-----
From: Dave Woodman [mailto:[hidden email]]
Sent: 27 May 2014 12:47
To: 'IBM Netrexx'
Subject: RE: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar

Hi Gil.

Even though your NetRexxC.jar is in your current directory you still need to
tell java where to find it

So, in your case, adding the -cp .\NetRexxC.jar should fix it.

i.e.

java -cp .\NetRexxC.jar org.netrexx.process.NetRexxC

Gives...

NetRexx portable processor NetRexx 3.02, build 172-20130625-1742 Copyright
(c) RexxLA, 2011,2013.  All rights reserved.
Parts Copyright (c) IBM Corporation, 1995,2008.

Arguments are: in_file_specification... [-option]...

In brief, NetRexxC-specific options are:

  -arg words     -- interpret; remaining words are arguments
  -compile       -- compile (default; -nocompile implies -keep)
  -console       -- display messages on console (default)
  -exec          -- interpret with no argument words
  -keep          -- keep any completed .java file (as xxx.java.keep)
  -keepasjava    -- keep any completed .java file (as xxx.java)
  -prompt        -- prompt for new request after processing
  -savelog       -- save messages in NetRexxC.log
  -time          -- display timings
  -warnexit0     -- exit with a zero returncode on warnings

Any NetRexx options may also be added; these are:

  -binary        -- all classes are binary classes
  -comments      -- copy comments across to generated .java
  -compact       -- display error messages in compact form
  -crossref      -- generate cross-reference listing
  -decimal       -- allow implicit decimal arithmetic
  -diag          -- show diagnostic messages
  -explicit      -- local variables must be explicitly declared
  -java          -- generate Java source code for this program
  -logo          -- display logo (banner) after starting
  -format        -- format output file (pretty-print)
  -replace       -- replace .java file even if it exists
  -sourcedir     -- force output files to source directory
  -strictargs    -- empty argument lists must be specified as ()
  -strictassign  -- assignment must be cost-free
  -strictcase    -- names must match in case
  -strictimport  -- all imports must be explicit
  -strictmethods -- superclass methods are not compared to local methods for
best match
  -strictprops   -- even local properties must be qualified
  -strictsignal  -- signals list must be explicit
  -symbols       -- include symbols table in generated .class files
  -trace[n]      -- trace stream [1 or 2], or 0 for NOTRACE
  -utf8          -- source file is in UTF8 encoding
  -verbose[n]    -- verbosity of progress reports [0-5]

All options may have prefix 'no' added for the inverse effect.

Please see the NetRexx Language definition at
http://www.netrexx.org/files/nrl3.pdf for more details.

        Dave

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Gil Blais
Sent: 27 May 2014 11:00
To: [hidden email]
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar

Hi Kermit. Here are the results of the latest run:

C:\NetRexx\lib>java org.netrexx.process.NetRexxC src\hello
Error: Could not find or load main class org.netrexx.process.NetRexxC

When I ran this sequence, the NetRexxC.jar file was in the same directory as
my cmd.exe (C:\NetRexx\lib)


Where do I have to house the NetRexxC.jar file to make this work as you
suggested?

Gil




--
View this message in context:
http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-Net
RexxF-jar-tp4027085p4027093.html
Sent from the ibm-netrexx mailing list archive at Nabble.com.

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Gil Blais
In reply to this post by Kermit Kiser
Morning Kermit, Gil here. Referring to your 'Oooops' note on the 27th, these are the results:

Directory of C:\NetRexx\lib\src

05/30/2014  06:41 AM               342 http.nrx
               1 File(s)            342 bytes

C:\NetRexx\lib\src>java org.netrexx.process.NetRexxC http
Error: Could not find or load main class org.netrexx.process.NetRexxC

Directory of C:\NetRexx\lib\src

05/23/2014  06:11 PM           322,449 NetRexxC.jar
05/23/2014  06:11 PM         2,606,594 NetRexxF.jar
               2 File(s)      2,929,043 bytes
               0 Dir(s)  27,529,076,736 bytes free
--- cut here ---
Also, NRC has never run for me yet. I have to compile and run in separate steps ??

This start up stuff should not be quite so painful. These are supposed to be routine happenings vs semi-rocket science.

Gil
Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Dave Woodman
Hi Gil,

When I use NetRexx to teach at a local school, I use this setup

https://bogon.co.uk/owncloud/public.php?service=files&t=3646999c302e2dc12ed1
381489f5b77c

Unzip it, and click on the setup.bat. A enhanced console will open, and a
version of notepad++ with NetRexx colouring, will start.

In the console, type nrc -run test

Let me know when you have a copy so that I can remove it. I can make it
available again on demand.

        Dave.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Gil Blais
Sent: 30 May 2014 12:10
To: [hidden email]
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar

Morning Kermit, Gil here. Referring to your 'Oooops' note on the 27th, these
are the results:

Directory of C:\NetRexx\lib\src

05/30/2014  06:41 AM               342 http.nrx
               1 File(s)            342 bytes

C:\NetRexx\lib\src>java org.netrexx.process.NetRexxC http
Error: Could not find or load main class org.netrexx.process.NetRexxC

Directory of C:\NetRexx\lib\src

05/23/2014  06:11 PM           322,449 NetRexxC.jar
05/23/2014  06:11 PM         2,606,594 NetRexxF.jar
               2 File(s)      2,929,043 bytes
               0 Dir(s)  27,529,076,736 bytes free
--- cut here ---
Also, NRC has never run for me yet. I have to compile and run in separate
steps ??

This start up stuff should not be quite so painful. These are supposed to be
routine happenings vs semi-rocket science.

Gil



--
View this message in context:
http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRe
xxF-jar-tp4027085p4027106.html
Sent from the ibm-netrexx mailing list archive at Nabble.com.

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Dave Woodman
In reply to this post by Gil Blais
I notice a few downloads of the zip - I'll leave it in place for a day or so
before pulling the plug...

        Dave.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Dave Woodman
Sent: 30 May 2014 12:21
To: 'IBM Netrexx'
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar

Hi Gil,

When I use NetRexx to teach at a local school, I use this setup

https://bogon.co.uk/owncloud/public.php?service=files&t=3646999c302e2dc12ed1
381489f5b77c

Unzip it, and click on the setup.bat. A enhanced console will open, and a
version of notepad++ with NetRexx colouring, will start.

In the console, type nrc -run test

Let me know when you have a copy so that I can remove it. I can make it
available again on demand.

        Dave.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Gil Blais
Sent: 30 May 2014 12:10
To: [hidden email]
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar

Morning Kermit, Gil here. Referring to your 'Oooops' note on the 27th, these
are the results:

Directory of C:\NetRexx\lib\src

05/30/2014  06:41 AM               342 http.nrx
               1 File(s)            342 bytes

C:\NetRexx\lib\src>java org.netrexx.process.NetRexxC http
Error: Could not find or load main class org.netrexx.process.NetRexxC

Directory of C:\NetRexx\lib\src

05/23/2014  06:11 PM           322,449 NetRexxC.jar
05/23/2014  06:11 PM         2,606,594 NetRexxF.jar
               2 File(s)      2,929,043 bytes
               0 Dir(s)  27,529,076,736 bytes free
--- cut here ---
Also, NRC has never run for me yet. I have to compile and run in separate
steps ??

This start up stuff should not be quite so painful. These are supposed to be
routine happenings vs semi-rocket science.

Gil



--
View this message in context:
http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRe
xxF-jar-tp4027085p4027106.html
Sent from the ibm-netrexx mailing list archive at Nabble.com.

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/


---
This email is free from viruses and malware because avast! Antivirus
protection is active.
http://www.avast.com

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/


---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Jeff Hennick
Dave,

I did download your zip file and have this problem report:

-- Bottom line:  Error: Could not find or load main class org.netrexx.process.NetRexxC
-- I agree with Gil, "This start up stuff should not be quite so painful. "

Running setup.bat did open the editor and console windows.

[Sorry I can't give a copy here, the console window does not have a "mark" or "select," and its help shows a Table of Contents, but the right panel is blank.]

C:\Users\Jeff\NetRexx\work>nrc -run test
'java' is not recognized as an internal or external command,
operable program or batch file.

So I opened a "normal" console window, and it found Java OK, but had other finding problems:

C:\Users\Jeff\NetRexx\work>nrc -run test
'nrc' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Jeff\NetRexx\work>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx\work

05/30/2014  08:54 AM    <DIR>          .
05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM                13 test.nrx
               1 File(s)             13 bytes
               2 Dir(s)  917,762,609,152 bytes free

C:\Users\Jeff\NetRexx\work>cd..

C:\Users\Jeff\NetRexx>nrc -run test
'nrc' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Jeff\NetRexx>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx

05/30/2014  08:54 AM    <DIR>          .
05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM               351 setup.bat
05/30/2014  08:54 AM    <DIR>          Tools
05/30/2014  08:54 AM    <DIR>          work
               1 File(s)            351 bytes
               4 Dir(s)  917,762,592,768 bytes free

C:\Users\Jeff\NetRexx>cd tools

C:\Users\Jeff\NetRexx\Tools>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx\Tools

05/30/2014  08:54 AM    <DIR>          .
05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM    <DIR>          bin
05/30/2014  08:54 AM    <DIR>          Console2
05/30/2014  08:54 AM    <DIR>          documents
05/30/2014  08:54 AM    <DIR>          examples
05/30/2014  08:54 AM    <DIR>          lib
05/30/2014  08:54 AM             1,749 LICENSE
05/30/2014  08:54 AM    <DIR>          npp
05/30/2014  08:54 AM             2,744 read.me.first
05/30/2014  08:54 AM               601 readme.txt
05/30/2014  08:54 AM            47,517 releasenotes.txt
05/30/2014  08:54 AM    <DIR>          runlib
05/30/2014  08:54 AM    <DIR>          tools
               4 File(s)         52,611 bytes
              10 Dir(s)  917,762,592,768 bytes free

C:\Users\Jeff\NetRexx\Tools>cd bin

C:\Users\Jeff\NetRexx\Tools\bin>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx\Tools\bin

05/30/2014  08:54 AM    <DIR>          .
05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM                12 hello.nrx
05/30/2014  08:54 AM             1,901 NetRexxC.bat
05/30/2014  08:54 AM             3,776 NetRexxC.cmd
05/30/2014  08:54 AM             1,704 NetRexxC.sh
05/30/2014  08:54 AM               312 nrc
05/30/2014  08:54 AM                87 nrc.bat
05/30/2014  08:54 AM                68 nrc.cmd
               7 File(s)          7,860 bytes
               2 Dir(s)  917,762,600,960 bytes free

C:\Users\Jeff\NetRexx\Tools\bin>nrc -run test
Error: Could not find or load main class org.netrexx.process.NetRexxC
Running test...
-run error: class file not found - do not add .nrx to name
C:\Users\Jeff\NetRexx\Tools\bin>
Jeff Hennick


On 5/30/2014 9:17 AM, Dave Woodman wrote:
I notice a few downloads of the zip - I'll leave it in place for a day or so
before pulling the plug...

	Dave.

-----Original Message-----
From: [hidden email]
[[hidden email]] On Behalf Of Dave Woodman
Sent: 30 May 2014 12:21
To: 'IBM Netrexx'
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar

Hi Gil,

When I use NetRexx to teach at a local school, I use this setup

https://bogon.co.uk/owncloud/public.php?service=files&t=3646999c302e2dc12ed1
381489f5b77c

Unzip it, and click on the setup.bat. A enhanced console will open, and a
version of notepad++ with NetRexx colouring, will start.

In the console, type nrc -run test

Let me know when you have a copy so that I can remove it. I can make it
available again on demand.

	Dave.

-----Original Message-----
From: [hidden email]
[[hidden email]] On Behalf Of Gil Blais
Sent: 30 May 2014 12:10
To: [hidden email]
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar

Morning Kermit, Gil here. Referring to your 'Oooops' note on the 27th, these
are the results:

Directory of C:\NetRexx\lib\src

05/30/2014  06:41 AM               342 http.nrx
               1 File(s)            342 bytes

C:\NetRexx\lib\src>java org.netrexx.process.NetRexxC http
Error: Could not find or load main class org.netrexx.process.NetRexxC

Directory of C:\NetRexx\lib\src

05/23/2014  06:11 PM           322,449 NetRexxC.jar
05/23/2014  06:11 PM         2,606,594 NetRexxF.jar
               2 File(s)      2,929,043 bytes
               0 Dir(s)  27,529,076,736 bytes free
--- cut here ---
Also, NRC has never run for me yet. I have to compile and run in separate
steps ??

This start up stuff should not be quite so painful. These are supposed to be
routine happenings vs semi-rocket science.

Gil



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Dave Woodman

Interesting, especially as it worked for Gil…

 

Sorry to ask, but what are the PATHS from both console types? What flavour of Windows?

 

                Dave.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Jeff Hennick
Sent: 30 May 2014 14:58
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar

 

Dave,

I did download your zip file and have this problem report:

-- Bottom line:  Error: Could not find or load main class org.netrexx.process.NetRexxC
-- I agree with Gil, "This start up stuff should not be quite so painful. "

Running setup.bat did open the editor and console windows.

[Sorry I can't give a copy here, the console window does not have a "mark" or "select," and its help shows a Table of Contents, but the right panel is blank.]

C:\Users\Jeff\NetRexx\work>nrc -run test
'java' is not recognized as an internal or external command,
operable program or batch file.


So I opened a "normal" console window, and it found Java OK, but had other finding problems:

C:\Users\Jeff\NetRexx\work>nrc -run test
'nrc' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Jeff\NetRexx\work>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx\work

05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM    <DIR>          ...
05/30/2014  08:54 AM                13 test.nrx
               1 File(s)             13 bytes
               2 Dir(s)  917,762,609,152 bytes free

C:\Users\Jeff\NetRexx\work>cd..

C:\Users\Jeff\NetRexx>nrc -run test
'nrc' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Jeff\NetRexx>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx

05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM    <DIR>          ...
05/30/2014  08:54 AM               351 setup.bat
05/30/2014  08:54 AM    <DIR>          Tools
05/30/2014  08:54 AM    <DIR>          work
               1 File(s)            351 bytes
               4 Dir(s)  917,762,592,768 bytes free

C:\Users\Jeff\NetRexx>cd tools

C:\Users\Jeff\NetRexx\Tools>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx\Tools

05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM    <DIR>          ...
05/30/2014  08:54 AM    <DIR>          bin
05/30/2014  08:54 AM    <DIR>          Console2
05/30/2014  08:54 AM    <DIR>          documents
05/30/2014  08:54 AM    <DIR>          examples
05/30/2014  08:54 AM    <DIR>          lib
05/30/2014  08:54 AM             1,749 LICENSE
05/30/2014  08:54 AM    <DIR>          npp
05/30/2014  08:54 AM             2,744 read.me.first
05/30/2014  08:54 AM               601 readme.txt
05/30/2014  08:54 AM            47,517 releasenotes.txt
05/30/2014  08:54 AM    <DIR>          runlib
05/30/2014  08:54 AM    <DIR>          tools
               4 File(s)         52,611 bytes
              10 Dir(s)  917,762,592,768 bytes free

C:\Users\Jeff\NetRexx\Tools>cd bin

C:\Users\Jeff\NetRexx\Tools\bin>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx\Tools\bin

05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM    <DIR>          ...
05/30/2014  08:54 AM                12 hello.nrx
05/30/2014  08:54 AM             1,901 NetRexxC.bat
05/30/2014  08:54 AM             3,776 NetRexxC.cmd
05/30/2014  08:54 AM             1,704 NetRexxC.sh
05/30/2014  08:54 AM               312 nrc
05/30/2014  08:54 AM                87 nrc.bat
05/30/2014  08:54 AM                68 nrc.cmd
               7 File(s)          7,860 bytes
               2 Dir(s)  917,762,600,960 bytes free

C:\Users\Jeff\NetRexx\Tools\bin>nrc -run test
Error: Could not find or load main class org.netrexx.process.NetRexxC
Running test...
-run error: class file not found - do not add .nrx to name
C:\Users\Jeff\NetRexx\Tools\bin>

Jeff Hennick


On 5/30/2014 9:17 AM, Dave Woodman wrote:

I notice a few downloads of the zip - I'll leave it in place for a day or so
before pulling the plug...
 
  Dave.
 
-----Original Message-----
From: [hidden email]
[[hidden email]] On Behalf Of Dave Woodman
Sent: 30 May 2014 12:21
To: 'IBM Netrexx'
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar
 
Hi Gil,
 
When I use NetRexx to teach at a local school, I use this setup
 
https://bogon.co.uk/owncloud/public.php?service=files&t=3646999c302e2dc12ed1
381489f5b77c
 
Unzip it, and click on the setup.bat. A enhanced console will open, and a
version of notepad++ with NetRexx colouring, will start.
 
In the console, type nrc -run test
 
Let me know when you have a copy so that I can remove it. I can make it
available again on demand.
 
  Dave.
 
-----Original Message-----
From: [hidden email]
[[hidden email]] On Behalf Of Gil Blais
Sent: 30 May 2014 12:10
To: [hidden email]
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar
 
Morning Kermit, Gil here. Referring to your 'Oooops' note on the 27th, these
are the results:
 
Directory of C:\NetRexx\lib\src
 
05/30/2014  06:41 AM               342 http.nrx
               1 File(s)            342 bytes
 
C:\NetRexx\lib\src>java org.netrexx.process.NetRexxC http
Error: Could not find or load main class org.netrexx.process.NetRexxC
 
Directory of C:\NetRexx\lib\src
 
05/23/2014  06:11 PM           322,449 NetRexxC.jar
05/23/2014  06:11 PM         2,606,594 NetRexxF.jar
               2 File(s)      2,929,043 bytes
               0 Dir(s)  27,529,076,736 bytes free
--- cut here ---
Also, NRC has never run for me yet. I have to compile and run in separate
steps ??
 
This start up stuff should not be quite so painful. These are supposed to be
routine happenings vs semi-rocket science.
 
Gil
 

 




This email is free from viruses and malware because avast! Antivirus protection is active.



_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Gil Blais

This is Gil... I am on a Windoze 7, 64 bit machine. I installed David's zip file and unzipped it.

The commands only work when I run SETUP.BAT each time before I do any NetRexx development.

Regards, Gil


On Friday, May 30, 2014 10:04 AM, Dave Woodman [via ibm-netrexx] <[hidden email]> wrote:


Interesting, especially as it worked for Gil…
 
Sorry to ask, but what are the PATHS from both console types? What flavour of Windows?
 
                Dave.
 
From: [hidden email] [mailto:[hidden email]] On Behalf Of Jeff Hennick
Sent: 30 May 2014 14:58
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar
 
Dave,

I did download your zip file and have this problem report:

-- Bottom line:  Error: Could not find or load main class org.netrexx.process.NetRexxC
-- I agree with Gil, "This start up stuff should not be quite so painful. "

Running setup.bat did open the editor and console windows.

[Sorry I can't give a copy here, the console window does not have a "mark" or "select," and its help shows a Table of Contents, but the right panel is blank.]
C:\Users\Jeff\NetRexx\work>nrc -run test
'java' is not recognized as an internal or external command,
operable program or batch file.

So I opened a "normal" console window, and it found Java OK, but had other finding problems:
C:\Users\Jeff\NetRexx\work>nrc -run test
'nrc' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Jeff\NetRexx\work>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx\work

05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM    <DIR>          ...
05/30/2014  08:54 AM                13 test.nrx
               1 File(s)             13 bytes
               2 Dir(s)  917,762,609,152 bytes free

C:\Users\Jeff\NetRexx\work>cd..

C:\Users\Jeff\NetRexx>nrc -run test
'nrc' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Jeff\NetRexx>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx

05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM    <DIR>          ...
05/30/2014  08:54 AM               351 setup.bat
05/30/2014  08:54 AM    <DIR>          Tools
05/30/2014  08:54 AM    <DIR>          work
               1 File(s)            351 bytes
               4 Dir(s)  917,762,592,768 bytes free

C:\Users\Jeff\NetRexx>cd tools

C:\Users\Jeff\NetRexx\Tools>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx\Tools

05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM    <DIR>          ...
05/30/2014  08:54 AM    <DIR>          bin
05/30/2014  08:54 AM    <DIR>          Console2
05/30/2014  08:54 AM    <DIR>          documents
05/30/2014  08:54 AM    <DIR>          examples
05/30/2014  08:54 AM    <DIR>          lib
05/30/2014  08:54 AM             1,749 LICENSE
05/30/2014  08:54 AM    <DIR>          npp
05/30/2014  08:54 AM             2,744 read.me.first
05/30/2014  08:54 AM               601 readme.txt
05/30/2014  08:54 AM            47,517 releasenotes.txt
05/30/2014  08:54 AM    <DIR>          runlib
05/30/2014  08:54 AM    <DIR>          tools
               4 File(s)         52,611 bytes
              10 Dir(s)  917,762,592,768 bytes free

C:\Users\Jeff\NetRexx\Tools>cd bin

C:\Users\Jeff\NetRexx\Tools\bin>dir
 Volume in drive C is OS
 Volume Serial Number is 96D2-5C3F

 Directory of C:\Users\Jeff\NetRexx\Tools\bin

05/30/2014  08:54 AM    <DIR>          ..
05/30/2014  08:54 AM    <DIR>          ...
05/30/2014  08:54 AM                12 hello.nrx
05/30/2014  08:54 AM             1,901 NetRexxC.bat
05/30/2014  08:54 AM             3,776 NetRexxC.cmd
05/30/2014  08:54 AM             1,704 NetRexxC.sh
05/30/2014  08:54 AM               312 nrc
05/30/2014  08:54 AM                87 nrc.bat
05/30/2014  08:54 AM                68 nrc.cmd
               7 File(s)          7,860 bytes
               2 Dir(s)  917,762,600,960 bytes free

C:\Users\Jeff\NetRexx\Tools\bin>nrc -run test
Error: Could not find or load main class org.netrexx.process.NetRexxC
Running test...
-run error: class file not found - do not add .nrx to name
C:\Users\Jeff\NetRexx\Tools\bin>
Jeff Hennick


On 5/30/2014 9:17 AM, Dave Woodman wrote:
I notice a few downloads of the zip - I'll leave it in place for a day or so
before pulling the plug...
  
  Dave.
  
-----Original Message-----
From: [hidden email]
[[hidden email]] On Behalf Of Dave Woodman
Sent: 30 May 2014 12:21
To: 'IBM Netrexx'
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar
  
Hi Gil,
  
When I use NetRexx to teach
 at a local school, I use this setup
  
https://bogon.co.uk/owncloud/public.php?service=files&t=3646999c302e2dc12ed1
381489f5b77c
  
Unzip it, and click on the setup.bat. A enhanced console will open, and a
version of notepad++ with NetRexx colouring, will start.
  
In the console, type nrc -run test
  
Let me know when you have a copy so that I can remove it. I can make it
available again on demand.
  
  Dave.
  
-----Original Message-----
From: [hidden email]
[[hidden email]] On Behalf Of Gil Blais
Sent: 30 May 2014
 12:10
To: [hidden email]
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar
  
Morning Kermit, Gil here. Referring to your 'Oooops' note on the 27th, these
are the results:
  
Directory of C:\NetRexx\lib\src
  
05/30/2014  06:41 AM               342 http.nrx
               1 File(s)            342 bytes
  
C:\NetRexx\lib\src>java org.netrexx.process.NetRexxC http
Error: Could not find or load main class org.netrexx.process.NetRexxC
  
Directory of C:\NetRexx\lib\src
  
05/23/2014  06:11
 PM           322,449 NetRexxC.jar
05/23/2014  06:11 PM         2,606,594 NetRexxF.jar
               2 File(s)      2,929,043 bytes
               0 Dir(s)  27,529,076,736 bytes free
--- cut here ---
Also, NRC has never run for me yet. I have to compile and run in separate
steps ??
  
This start up stuff should not be quite so painful. These are supposed to be
routine happenings vs semi-rocket science.
  
Gil
  
 



This email is free from viruses and malware because avast! Antivirus protection is active.


_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/




If you reply to this email, your message will be added to the discussion below:
http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRexxF-jar-tp4027085p4027110.html
To unsubscribe from Error: Unable to access jarfile NetRexxF.jar, click here.
NAML


Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Dave Woodman
Hi,

The environment exists only within the context created by the setup file, and requires a JRE installed and pre-configured on the system wide path.

This was built to allow use in a very restricted environment of well-tied-down machines, where env vars, path etc are not changeable by the user across the system (think of what would happen if 11 year olds were allowed to play those games).

Whilst it works where I have used it, and for Gil, I am keen to make something that could be generally used as a demonstrator. If I can address issues that others have then I will. Bundling a JRE is possible, but undesirable for licensing and size reasons.

        Dave.

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Gil Blais
Sent: 30 May 2014 15:16
To: [hidden email]
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar


This is Gil... I am on a Windoze 7, 64 bit machine. I installed David's zip file and unzipped it.

The commands only work when I run SETUP.BAT each time before I do any NetRexx development.

Regards, Gil



On Friday, May 30, 2014 10:04 AM, Dave Woodman [via ibm-netrexx] <[hidden email]> wrote:
 


Interesting, especially as it worked for Gil…
 
Sorry to ask, but what are the PATHS from both console types? What flavour of Windows?
 
                Dave.
 
From:[hidden email] [mailto:[hidden email]] On Behalf Of Jeff Hennick
Sent: 30 May 2014 14:58
To: IBM Netrexx
Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar
 
Dave,

I did download your zip file and have this problem report:

-- Bottom line:  Error: Could not find or load main class org.netrexx.process.NetRexxC
-- I agree with Gil, "This start up stuff should not be quite so painful. "

Running setup.bat did open the editor and console windows.

[Sorry I can't give a copy here, the console window does not have a "mark" or "select," and its help shows a Table of Contents, but the right panel is blank.] C:\Users\Jeff\NetRexx\work>nrc -run test
>'java' is not recognized as an internal or external command, operable
>program or batch file.

So I opened a "normal" console window, and it found Java OK, but had other finding problems:
C:\Users\Jeff\NetRexx\work>nrc -run test

>'nrc' is not recognized as an internal or external command, operable
>program or batch file.
>
>C:\Users\Jeff\NetRexx\work>dir
> Volume in drive C is OS
> Volume Serial Number is 96D2-5C3F
>
> Directory of C:\Users\Jeff\NetRexx\work
>
>05/30/2014  08:54 AM    <DIR>          ..
>05/30/2014  08:54 AM    <DIR>          ...
>05/30/2014  08:54 AM                13 test.nrx
>               1 File(s)             13 bytes
>               2 Dir(s)  917,762,609,152 bytes free
>
>C:\Users\Jeff\NetRexx\work>cd..
>
>C:\Users\Jeff\NetRexx>nrc -run test
>'nrc' is not recognized as an internal or external command, operable
>program or batch file.
>
>C:\Users\Jeff\NetRexx>dir
> Volume in drive C is OS
> Volume Serial Number is 96D2-5C3F
>
> Directory of C:\Users\Jeff\NetRexx
>
>05/30/2014  08:54 AM    <DIR>          ..
>05/30/2014  08:54 AM    <DIR>          ...
>05/30/2014  08:54 AM               351 setup.bat
>05/30/2014  08:54 AM    <DIR>          Tools
>05/30/2014  08:54 AM    <DIR>          work
>               1 File(s)            351 bytes
>               4 Dir(s)  917,762,592,768 bytes free
>
>C:\Users\Jeff\NetRexx>cd tools
>
>C:\Users\Jeff\NetRexx\Tools>dir
> Volume in drive C is OS
> Volume Serial Number is 96D2-5C3F
>
> Directory of C:\Users\Jeff\NetRexx\Tools
>
>05/30/2014  08:54 AM    <DIR>          ..
>05/30/2014  08:54 AM    <DIR>          ...
>05/30/2014  08:54 AM    <DIR>          bin
>05/30/2014  08:54 AM    <DIR>          Console2
>05/30/2014  08:54 AM    <DIR>          documents
>05/30/2014  08:54 AM    <DIR>          examples
>05/30/2014  08:54 AM    <DIR>          lib
>05/30/2014  08:54 AM             1,749 LICENSE
>05/30/2014  08:54 AM    <DIR>          npp
>05/30/2014  08:54 AM             2,744 read.me.first
>05/30/2014  08:54 AM               601 readme.txt
>05/30/2014  08:54 AM            47,517 releasenotes.txt
>05/30/2014  08:54 AM    <DIR>          runlib
>05/30/2014  08:54 AM    <DIR>          tools
>               4 File(s)         52,611 bytes
>              10 Dir(s)  917,762,592,768 bytes free
>
>C:\Users\Jeff\NetRexx\Tools>cd bin
>
>C:\Users\Jeff\NetRexx\Tools\bin>dir
> Volume in drive C is OS
> Volume Serial Number is 96D2-5C3F
>
> Directory of C:\Users\Jeff\NetRexx\Tools\bin
>
>05/30/2014  08:54 AM    <DIR>          ..
>05/30/2014  08:54 AM    <DIR>          ...
>05/30/2014  08:54 AM                12 hello.nrx
>05/30/2014  08:54 AM             1,901 NetRexxC.bat
>05/30/2014  08:54 AM             3,776 NetRexxC.cmd
>05/30/2014  08:54 AM             1,704 NetRexxC.sh
>05/30/2014  08:54 AM               312 nrc
>05/30/2014  08:54 AM                87 nrc.bat
>05/30/2014  08:54 AM                68 nrc.cmd
>               7 File(s)          7,860 bytes
>               2 Dir(s)  917,762,600,960 bytes free
>
>C:\Users\Jeff\NetRexx\Tools\bin>nrc -run test
>Error: Could not find or load main class org.netrexx.process.NetRexxC
>Running test...
>-run error: class file not found - do not add .nrx to name
>C:\Users\Jeff\NetRexx\Tools\bin>
Jeff Hennick


On 5/30/2014 9:17 AM, Dave Woodman wrote:
I notice a few downloads of the zip - I'll leave it in place for a day or so

>before pulling the plug...
>
>  Dave.
>
>-----Original Message-----
>From: [hidden email]
>[[hidden email]] On Behalf Of Dave Woodman
>Sent: 30 May 2014 12:21
>To: 'IBM Netrexx'
>Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar
>
>Hi Gil,
>
>When I use NetRexx to teach at a local school, I use this setup
>
>https://bogon.co.uk/owncloud/public.php?service=files&t=3646999c302e2dc
>12ed1
>381489f5b77c
>
>Unzip it, and click on the setup.bat. A enhanced console will open, and
>a version of notepad++ with NetRexx colouring, will start.
>
>In the console, type nrc -run test
>
>Let me know when you have a copy so that I can remove it. I can make it
>available again on demand.
>
>  Dave.
>
>-----Original Message-----
>From: [hidden email]
>[[hidden email]] On Behalf Of Gil Blais
>Sent: 30 May 2014 12:10
>To: [hidden email]
>Subject: Re: [Ibm-netrexx] Error: Unable to access jarfile NetRexxF.jar
>
>Morning Kermit, Gil here. Referring to your 'Oooops' note on the 27th,
>these are the results:
>
>Directory of C:\NetRexx\lib\src
>
>05/30/2014  06:41 AM               342 http.nrx
>               1 File(s)            342 bytes
>
>C:\NetRexx\lib\src>java org.netrexx.process.NetRexxC http
>Error: Could not find or load main class org.netrexx.process.NetRexxC
>
>Directory of C:\NetRexx\lib\src
>
>05/23/2014  06:11 PM           322,449 NetRexxC.jar
>05/23/2014  06:11 PM         2,606,594 NetRexxF.jar
>               2 File(s)      2,929,043 bytes
>               0 Dir(s)  27,529,076,736 bytes free
>--- cut here ---
>Also, NRC has never run for me yet. I have to compile and run in
>separate steps ??
>
>This start up stuff should not be quite so painful. These are supposed
>to be routine happenings vs semi-rocket science.
>
>Gil
>
 

________________________________
 
   This email is free from viruses and malware because avast! Antivirus protection is active.  

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



________________________________
 
If you reply to this email, your message will be added to the discussion below:http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRexxF-jar-tp4027085p4027110.html
To unsubscribe from Error: Unable to access jarfile NetRexxF.jar, click here.
NAML



--
View this message in context: http://ibm-netrexx.215625.n3.nabble.com/Error-Unable-to-access-jarfile-NetRexxF-jar-tp4027085p4027111.html
Sent from the ibm-netrexx mailing list archive at Nabble.com.

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/



---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Reply | Threaded
Open this post in threaded view
|

Re: Error: Unable to access jarfile NetRexxF.jar

Jeff Hennick
In reply to this post by Dave Woodman
Dave,

Thank you for keeping with this.

I am on Windows 8.1 with the latest patches.

This is what I get from your command window:


And from a native command window:


Incidentally, I had to restart Windows to get your window to pick up the latest Path, it kept an old one even after I totally shutdown setup.bat and restarted it.

(As for kids messing with classroom computers, we have the same problem with 80 year olds.  We use Centurion Technologies' SmartShield to restart them in exactly the same condition each time.)

On 5/30/2014 10:04 AM, Dave Woodman wrote:

Interesting, especially as it worked for Gil…

 

Sorry to ask, but what are the PATHS from both console types? What flavour of Windows?

 

                Dave.

 




_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

123