David,
If you actually go through the process, please let me know how it goes so I can improve the write up. There is a rather limited audience for it, but I would like it to be useful for those few. I forgot to include a description of how to use it - basically you point the editor plugin at the compiler build version. Then you can edit the nrx files, click compile for errors, then click build the jars, and compile and run your tests. Switching back and forth between the build compiler and the standard version should be easier but it's not too bad as long as the build does not break the compiler. I added a one liner to the logo banner to test it - works quite well and in practice it only took a few seconds. Eventually I would like to set it up as an Eclipse plugin project but the structure and organization of the repository is a mismatch. Of course the editor plugin is still Alpha and there is a huge amount of work to do to bring it up to snuff. Bill On 8/25/2012 4:14 PM, David Requena wrote: > Great, many thanks Bill > > - > Saludos / Kind regards, > David Requena > > NOTE: The opinions expressed here represent the opinions > of the authors and do not necessarily represent the opinions > of those who hold other opinions. > > -----Original Message----- > From: Bill Fenlason <[hidden email]> > Sender: [hidden email] > Date: Sat, 25 Aug 2012 08:40:26 > To: IBM Netrexx<[hidden email]> > Reply-To: IBM Netrexx <[hidden email]> > Subject: Re: [Ibm-netrexx] Build process > > Problem solved - needed to fix the ant class path. One click builds. _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by Kermit Kiser
Kermit,
I don't - probably your suggestion of copying the file is the easiest way. More installation woes. Possibly the Javadoc program is all Java and javadoc.exe is just a stub that can be bypassed. On 8/25/2012 7:25 PM, Kermit Kiser wrote: > Good point Bill. I don't really know how Ant finds the javadoc module. > I have been assuming that it needed to be in the system path like > java.exe or in the Java bin directory for the active Java VM but that > was just a wild guess. Oddly, it seemed to work for me but that may be > "dumb luck". > > Do you know how it actually works? > > -- Kermit > > On 8/25/2012 12:40 AM, Bill Fenlason wrote: >> Having to copy things from the JDK into the JRE doesn't sound right >> to me. Can the path be set either explicitly or implicitly in the >> build.xml file? The javadoc.exe file is in the JDK \bin directory. >> It seems to me that since the JDK must be located for the tools jar, >> no file copying should be necessary? >> >> Ant is distributed with Eclipse, including the NetRexx ant task - it >> looks as if the custom ant processing for NetRexx may be >> problematic. Eclipse allow custom builds so perhaps there is a work >> around, but that may take some effort. Custom ant tasks can be >> specified relatively easily, so I'll see if that does the trick. It's >> unfortunate that the standard ant, netrexx task and build.xml >> approach could not be used. >> >> I verified that ant-launcher is indeed part of ant, and that it >> produces the "unable to locate tools.jar" message. >> >> When I get this all straightened out I'll write up a simple "Eclipse >> setup for NetRexx development" readme. >> >> Bill >> >> On 8/25/2012 5:29 AM, Kermit Kiser wrote: >>> "javadoc.exe" is included with the JDK. You may need to copy it to >>> the bin directory of the Java install (jre) running the build. >>> >>> You can also just run a "jars" build which will build the NetRexx >>> jars but will not try to create the javadocs. >>> >>> -- Kermit >>> >>> On 8/24/2012 8:48 PM, Bill Fenlason wrote: >>>> When I run a command line "dist" build, which is the default, I get >>>> an error because "javadoc.exe" can not be found. Is this a known >>>> problem? _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Bill, Kermit,
I've been looking a bit at ants javadoc task's documentation. I found this task supports an "executable" parameter: executable - Specify a particular javadoc executable
to use in place of the default binary (found in the same JDK as Ant is running in).
since Ant 1.6.3.That should allow for easy customization via a propeties file or similar. 2012/8/26 Bill Fenlason <[hidden email]> Kermit, -- Saludos / Regards, David Requena _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
I'm having path or classpath problems again. nrc was working and then I moved some files around and now its hosed: Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main method getNextCardNum(int,boolean) method actionPerformed(ActionEvent) implements ActionListener.actionPerformed(ActionEvent) method DisplayScore(int) function reset function elapsed Loaded public class 'java.lang.IllegalArgumentException' Loaded public class 'java.lang.NumberFormatException' function GetRand(int) Loaded public final class 'java.lang.Math' function WriteAndLeave(Rexx) Loaded public abstract class 'java.io.Writer' Loaded public class 'java.io.OutputStreamWriter' Loaded public class 'java.io.FileWriter' Loaded public class 'java.io.PrintWriter' Loaded public abstract class 'java.io.OutputStream' Loaded public abstract interface class 'java.lang.Appendable' Loaded public abstract interface class 'java.io.Closeable' Loaded public abstract interface class 'java.io.Flushable' Loaded public abstract interface class 'java.lang.AutoCloseable' function GuiClose === class CloseWindowAdapter === method windowClosing(WindowEvent) overrides WindowAdapter.windowClosing(WindowEvent) Compiling: '-nowarn -classpath .;C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar;H:\keklein\REXX\NetRexx\lib\NetRexxC.jar;C:\Program Files\Java\jre7\lib\alt-rt.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\deploy.jar;C:\Program Files\Java\jre7\lib\javaws.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\management-agent.jar;C:\Program Files\Java\jre7\lib\plugin.jar;C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\ext\dnsns.jar;C:\Program Files\Java\jre7\lib\ext\localedata.jar;C:\Program Files\Java\jre7\lib\ext\NetRexxC.jar;C:\Program Files\Java\jre7\lib\ext\sunec.jar;C:\Program Files\Java\jre7\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jre7\lib\ext\sunmscapi.jar;C:\Program Files\Java\jre7\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jre7\lib\ext\zipfs.jar H:\keklein\REXX\NetRexx\bjcp9\fcgui.java' Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:618) at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239) at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165) at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154) at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152) at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91) Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 6 mor NetRexx Envirotest version 1.4 Java properties: java.version: 1.7.0_05 java.home: C:\Program Files\Java\jre7 java.class.path: .;C:\Program Files\Java\jre6\lib\ext\NetRexxC.jar;C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;;H:\keklein\REXX\NetRexx\lib\NetRexxC.jar java.library.path: C:\WINDOWS\system32;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;.;H:\keklein\;H:\keklein\REXX\NetRexx\bin;C:\Program Files\vim\vim73;C:\Program Files\IBM\Personal Communications\;C:\Program Files\IBM\Trace Facility\;C:\Program Files\Java\jdk1.6.0_18\bin;C:\Program Files\QuickTime\QTSystem\;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS\System32\Wbem;H:\keklein\My Documents\apache-ant-1.8.2\bin;. java.ext.dirs: C:\Program Files\Java\jre7\lib\ext;C:\WINDOWS\Sun\Java\lib\ext os.name: Windows 7 os.arch: x86 os.version: 6.1 ANT_HOME: H:\keklein\My Documents\apache-ant-1.8.2 HOME: C:\documents and settings\keklein\ HOMEPATH: \ USERPROFILE: C:\Users\KEKLEIN Beginning scan for Java and NetRexx runtime or compiler programs: Checking java.home Checking java.home parent found:C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar Checking java.home grandparent Checking Java extension directories found:C:\Program Files\Java\jre7\lib\ext\NetRexxC.jar Checking Java classpath directories found:C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar found:H:\keklein\REXX\NetRexx\lib\NetRexxC.jar Checking System path directories found:C:\WINDOWS\system32\java.exe found:C:\WINDOWS\system32\java.exe found:H:\keklein\\NetRexxDE.jar found:H:\keklein\REXX\NetRexx\bin\nrc.bat found:H:\keklein\REXX\NetRexx\bin\nrc.cmd found:H:\keklein\REXX\NetRexx\bin\NetRexxC.sh found:H:\keklein\REXX\NetRexx\bin\NetRexxC.cmd found:H:\keklein\REXX\NetRexx\bin\NetRexxC.bat found:H:\keklein\REXX\NetRexx\NetRexxC.jar found:C:\WINDOWS\system32\java.exe Checking Ant directory Checking home directory Checking homepath directory Checking userprofile director Kenneth Klein Systems Specialist 502-868-3644 859-750-5179 (Cell) 502-868-2298 (Fax) [hidden email] _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Hi Kenneth --
Can you show us your nrc.bat and NetRexxC.bat files? Windows Java does not always do what you might expect - It largely ignores environment variables/paths and may decide what to run based on registry values. -- Kermit On 8/31/2012 4:16 AM,
[hidden email] wrote:
_______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by Kermit Kiser
Kermit,
I discovered the following which describes how to set up the javadoc Ant task under Eclipse. Doing a NetRexx repository dist build now builds the javadoc automatically - no need to move the javadoc.exe file, just get it on the Path dynamically. http://blog.darevay.com/2008/12/running-javadoc-ant-task-from-eclipse/ I will update the Eclipse setup document to include these directions. These directions assume that JAVA_HOME is set to the JDK, but the path could be explicit. Indeed, the Path for any external tool run in Eclipse can be dynamically modified using this method. Running external tools under Eclipse is reasonably straight forward - I even run Cygwin / bison that way - edit the .y file and a couple of clicks gives me the output. I haven't tried running JEdit as an external editor in Eclipse, but I assume it would be easy to do. On 8/25/2012 5:29 AM, Kermit Kiser wrote: > "javadoc.exe" is included with the JDK. You may need to copy it to the > bin directory of the Java install (jre) running the build. > > You can also just run a "jars" build which will build the NetRexx jars > but will not try to create the javadocs. > > -- Kermit > > On 8/24/2012 8:48 PM, Bill Fenlason wrote: >> When I run a command line "dist" build, which is the default, I get >> an error because "javadoc.exe" can not be found. Is this a known >> problem? _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by Kermit Kiser
I have nothing in: %netrexx_java% @rem Alias for NetRexxC.bat @echo off call netrexxc.bat %1 %2 %3 %4 %5 %6 %7 %8 %9 @REM : Batch file to translate and compile a NetRexx program, and @REM : optionally run the resulting class file @REM :----------------------------------------------------------------- @REM : use as: NetRexxC hello @REM : @REM : which will use the NetRexx translator to translate the @REM : source file hello.nrx to hello.java @REM : then will use javac to compile hello.java @REM : @REM : Up to eight OPTIONS keywords may be added (with a -) before or @REM : after the file specification, along with the extra flags known @REM : to NetRexxC (such as -keep). For example: @REM : @REM : NetRexxC -keep -format -comments hello @REM : @REM : Invoke with no parameters for a full list of flags. @REM : @REM : To run the class after compilation, specify -run as the @REM : first word of the command arguments and the name of the @REM : class as the second word. Note that the case of the @REM : letters must be exactly correct for this to work, and do not @REM : specify the .nrx extension. For example: @REM : @REM : NetRexxC -run hello @REM : @REM : For a more flexible script for this, see NetRexxC.cmd @REM :----------------------------------------------------------------- @REM : 1996.12.28 -- initial version derived from NetRexxC.cmd @REM : 1998.05.25 -- use NETREXX_JAVA as options to java.exe @REM : 2011.09.01 -- use org.netrexx.process @REM : 2011.09.01 -- remove -xms4M @REM : 2011.09.29 -- add error msg for -run with x.nrx name format @echo off set netrexxc.bat_run=no if not '%1'=='-run' goto compile set netrexxc.bat_run=yes shift :compile java %netrexx_java% org.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 %8 %9 if errorlevel 2 goto quit if %netrexxc.bat_run%==no goto quit echo Running %1... IF EXIST %1.class (java %1) ELSE echo -run error: class file not found - do not add .nrx to name :quit:quit C:\REXX\NetRexx\bjcp9 Tue 09/04/2012 8:41:41.49 > set netrexxc.bat_run=no C:\REXX\NetRexx\bjcp9 Tue 09/04/2012 8:41:41.49 > if not 'fcgui.nrx' == '-run' goto compile C:\REXX\NetRexx\bjcp9 Tue 09/04/2012 8:41:41.49 > java org.netrexx.process.NetRexxC fcgui.nrx NetRexx portable processor, version NetRexx 3.01RC2, build 1-20110925-2337 Copyright (c) RexxLA, 2011. All rights reserved. Parts Copyright (c) IBM Corporation, 1995,2008. 1931 classes imported from 'javax.swing.' 72 classes imported from 'java.text.' 440 classes imported from 'javax.swing.text.' 3 classes imported from 'netrexx.lang.Rexx' Loaded public class 'java.lang.Object' Loaded public abstract class 'java.awt.event.KeyAdapter' Loaded public abstract interface class 'java.awt.event.KeyListener' Loaded public abstract interface class 'java.util.EventListener' Loaded public abstract interface class 'java.awt.event.ActionListener' Loaded public class 'java.awt.GridBagConstraints' Loaded public abstract class 'java.awt.event.WindowAdapter' Loaded public abstract interface class 'java.awt.event.WindowListener' Loaded public abstract interface class 'java.awt.event.WindowStateListener' Loaded public abstract interface class 'java.awt.event.WindowFocusListener' Translating 'fcgui.nrx' [Pass 1] === class fcgui === [pass 1] Loaded public abstract interface class 'java.lang.Cloneable' Loaded public abstract interface class 'java.io.Serializable' Loaded public class 'netrexx.lang.Rexx' Loaded public abstract class 'java.awt.Component' Loaded public class 'java.awt.Container' Loaded public class 'java.awt.Window' Loaded public class 'java.awt.Frame' Loaded public class 'javax.swing.JFrame' Loaded public abstract class 'javax.swing.JComponent' Loaded public abstract class 'javax.swing.text.JTextComponent' Loaded public class 'javax.swing.JTextField' Loaded public abstract class 'javax.swing.AbstractButton' Loaded public class 'javax.swing.JButton' Loaded public abstract interface class 'javax.swing.Icon' Loaded public final class 'java.lang.String' Loaded public abstract interface class 'java.lang.Comparable' Loaded public abstract interface class 'java.lang.CharSequence' Loaded public class 'javax.swing.JTextArea' method main [line 67] method LoadTable [line 129] Loaded public class 'java.lang.Throwable' Loaded public class 'java.lang.Exception' Loaded public class 'java.io.IOException' Loaded public class 'java.lang.RuntimeException' Loaded public class 'java.lang.Error' method fcgui [line 156] method DrawTheCard [line 165] method ShowNextCard [line 309] method Submit_Check [line 352] method keyTyped [line 393] Loaded public class 'java.util.EventObject' Loaded public abstract class 'java.awt.AWTEvent' Loaded public class 'java.awt.event.ComponentEvent' Loaded public abstract class 'java.awt.event.InputEvent' Loaded public class 'java.awt.event.KeyEvent' method keyReleased [line 413] method getNextCardNum [line 447] method actionPerformed [line 479] Loaded public class 'java.awt.event.ActionEvent' method DisplayScore [line 496] method reset [line 504] method elapsed [line 509] method GetRand [line 518] method WriteAndLeave [line 522] method GuiClose [line 540] === class CloseWindowAdapter === [pass 1] method windowClosing [line 549] Loaded public class 'java.awt.event.WindowEvent' Program fcgui.nrx [pass 2, over 645 clauses] === class fcgui === function main(String[]) Loaded public class 'IsFile' Loaded public final class 'java.lang.System' Loaded public class 'netrexx.lang.BadArgumentException' signals IOException function LoadTable(Rexx) Loaded public abstract class 'java.io.Reader' Loaded public class 'java.io.InputStreamReader' Loaded public class 'java.io.FileReader' Loaded public class 'java.io.File' Loaded public abstract interface class 'netrexx.lang.RexxOperators' Loaded public final class 'java.io.FileDescriptor' Loaded public class 'java.io.FileNotFoundException' Loaded public class 'java.io.BufferedReader' constructor fcgui(int,boolean,boolean) method DrawTheCard Loaded public abstract class 'java.awt.GraphicsConfiguration' Loaded public class 'java.lang.UnsupportedOperationException' Loaded public class 'java.awt.HeadlessException' Loaded public class 'java.awt.GridBagLayout' Loaded public abstract interface class 'java.awt.LayoutManager' Loaded public abstract interface class 'java.awt.LayoutManager2' Loaded public class 'java.awt.Insets' Loaded public abstract class 'java.awt.Toolkit' Loaded public abstract class 'java.awt.geom.Dimension2D' Loaded public class 'java.awt.Dimension' Loaded public class 'java.awt.Color' Loaded public class 'java.awt.Font' Loaded public abstract interface class 'javax.swing.Scrollable' Loaded public abstract interface class 'javax.accessibility.Accessible' Loaded public class 'javax.swing.TransferHandler' Loaded private abstract interface class 'javax.swing.TransferHandler.HasGetTransferHandler' Loaded public abstract interface class 'java.awt.image.ImageObserver' Loaded public abstract interface class 'java.awt.MenuContainer' Loaded public abstract interface class 'javax.swing.text.Document' Loaded public abstract interface class 'java.awt.ItemSelectable' Loaded public abstract interface class 'javax.swing.SwingConstants' method ShowNextCard(Rexx) Loaded public class 'javax.swing.SwingUtilities' Loaded public abstract class 'java.text.Format' Loaded public abstract class 'java.text.DateFormat' Loaded public class 'java.text.SimpleDateFormat' Loaded public class 'java.util.Date' method Submit_Check(String) Loaded public class 'javax.swing.JOptionPane' Loaded public abstract interface class 'javax.swing.WindowConstants' Loaded public abstract interface class 'javax.swing.RootPaneContainer' method keyTyped(KeyEvent) Loaded public class 'netrexx.lang.NotCharacterException' overrides KeyAdapter.keyTyped(KeyEvent) implements KeyListener.keyTyped(KeyEvent) method keyReleased(KeyEvent) overrides KeyAdapter.keyReleased(KeyEvent) implements KeyListener.keyReleased(KeyEvent) method getNextCardNum(int,boolean) method actionPerformed(ActionEvent) implements ActionListener.actionPerformed(ActionEvent) method DisplayScore(int) function reset function elapsed Loaded public class 'java.lang.IllegalArgumentException' Loaded public class 'java.lang.NumberFormatException' function GetRand(int) Loaded public final class 'java.lang.Math' function WriteAndLeave(Rexx) Loaded public abstract class 'java.io.Writer' Loaded public class 'java.io.OutputStreamWriter' Loaded public class 'java.io.FileWriter' Loaded public class 'java.io.PrintWriter' Loaded public abstract class 'java.io.OutputStream' Loaded public abstract interface class 'java.lang.Appendable' Loaded public abstract interface class 'java.io.Closeable' Loaded public abstract interface class 'java.io.Flushable' Loaded public abstract interface class 'java.lang.AutoCloseable' function GuiClose === class CloseWindowAdapter === method windowClosing(WindowEvent) overrides WindowAdapter.windowClosing(WindowEvent) Compiling: '-nowarn -classpath .;C:\REXX\NetRexx\lib\NetRexxC.jar;C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar;C:\Program Files\Java\jre7\lib\alt-rt.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\deploy.jar;C:\Program Files\Java\jre7\lib\javaws.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\management-agent.jar;C:\Program Files\Java\jre7\lib\plugin.jar;C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\ext\dnsns.jar;C:\Program Files\Java\jre7\lib\ext\localedata.jar;C:\Program Files\Java\jre7\lib\ext\NetRexxC.jar;C:\Program Files\Java\jre7\lib\ext\sunec.jar;C:\Program Files\Java\jre7\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jre7\lib\ext\sunmscapi.jar;C:\Program Files\Java\jre7\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jre7\lib\ext\zipfs.jar C:\REXX\NetRexx\bjcp9\fcgui.java' Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:618) at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239) at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165) at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154) at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152) at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91) Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 6 more C:\REXX\NetRexx\bjcp9 Tue 09/04/2012 8:41:42.30 > if errorlevel 2 goto quit C:\REXX\NetRexx\bjcp9 Tue 09/04/2012 8:41:42.30 > if no == no goto quit Kenneth Klein
Hi Kenneth -- Can you show us your nrc.bat and NetRexxC.bat files? Windows Java does not always do what you might expect - It largely ignores environment variables/paths and may decide what to run based on registry values. -- Kermit On 8/31/2012 4:16 AM, kenneth.klein@... wrote: I'm having path or classpath problems again. nrc was working and then I moved some files around and now its hosed: Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main method getNextCardNum(int,boolean) method actionPerformed(ActionEvent) implements ActionListener.actionPerformed(ActionEvent) method DisplayScore(int) function reset function elapsed Loaded public class 'java.lang.IllegalArgumentException' Loaded public class 'java.lang.NumberFormatException' function GetRand(int) Loaded public final class 'java.lang.Math' function WriteAndLeave(Rexx) Loaded public abstract class 'java.io.Writer' Loaded public class 'java.io.OutputStreamWriter' Loaded public class 'java.io.FileWriter' Loaded public class 'java.io.PrintWriter' Loaded public abstract class 'java.io.OutputStream' Loaded public abstract interface class 'java.lang.Appendable' Loaded public abstract interface class 'java.io.Closeable' Loaded public abstract interface class 'java.io.Flushable' Loaded public abstract interface class 'java.lang.AutoCloseable' function GuiClose === class CloseWindowAdapter === method windowClosing(WindowEvent) overrides WindowAdapter.windowClosing(WindowEvent) Compiling: '-nowarn -classpath .;C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar;H:\keklein\REXX\NetRexx\lib\NetRexxC.jar;C:\Program Files\Java\jre7\lib\alt-rt.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\deploy.jar;C:\Program Files\Java\jre7\lib\javaws.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\management-agent.jar;C:\Program Files\Java\jre7\lib\plugin.jar;C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\ext\dnsns.jar;C:\Program Files\Java\jre7\lib\ext\localedata.jar;C:\Program Files\Java\jre7\lib\ext\NetRexxC.jar;C:\Program Files\Java\jre7\lib\ext\sunec.jar;C:\Program Files\Java\jre7\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jre7\lib\ext\sunmscapi.jar;C:\Program Files\Java\jre7\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jre7\lib\ext\zipfs.jar H:\keklein\REXX\NetRexx\bjcp9\fcgui.java' Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:618) at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239) at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165) at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154) at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152) at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91) Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 6 mor NetRexx Envirotest version 1.4 Java properties: java.version: 1.7.0_05 java.home: C:\Program Files\Java\jre7 java.class.path: .;C:\Program Files\Java\jre6\lib\ext\NetRexxC.jar;C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar;C:\Program Files\Java\jre6\lib\ext\QTJava.zip;;H:\keklein\REXX\NetRexx\lib\NetRexxC.jar java.library.path: C:\WINDOWS\system32;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;.;H:\keklein\;H:\keklein\REXX\NetRexx\bin;C:\Program Files\vim\vim73;C:\Program Files\IBM\Personal Communications\;C:\Program Files\IBM\Trace Facility\;C:\Program Files\Java\jdk1.6.0_18\bin;C:\Program Files\QuickTime\QTSystem\;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS\System32\Wbem;H:\keklein\My Documents\apache-ant-1.8.2\bin;. java.ext.dirs: C:\Program Files\Java\jre7\lib\ext;C:\WINDOWS\Sun\Java\lib\ext os.name: Windows 7 os.arch: x86 os.version: 6.1 ANT_HOME: H:\keklein\My Documents\apache-ant-1.8.2 HOME: C:\documents and settings\keklein\ HOMEPATH: \ USERPROFILE: C:\Users\KEKLEIN Beginning scan for Java and NetRexx runtime or compiler programs: Checking java.home Checking java.home parent found:C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar Checking java.home grandparent Checking Java extension directories found:C:\Program Files\Java\jre7\lib\ext\NetRexxC.jar Checking Java classpath directories found:C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar found:H:\keklein\REXX\NetRexx\lib\NetRexxC.jar Checking System path directories found:C:\WINDOWS\system32\java.exe found:C:\WINDOWS\system32\java.exe found:H:\keklein\\NetRexxDE.jar found:H:\keklein\REXX\NetRexx\bin\nrc.bat found:H:\keklein\REXX\NetRexx\bin\nrc.cmd found:H:\keklein\REXX\NetRexx\bin\NetRexxC.sh found:H:\keklein\REXX\NetRexx\bin\NetRexxC.cmd found:H:\keklein\REXX\NetRexx\bin\NetRexxC.bat found:H:\keklein\REXX\NetRexx\NetRexxC.jar found:C:\WINDOWS\system32\java.exe Checking Ant directory Checking home directory Checking homepath directory Checking userprofile director Kenneth Klein Systems Specialist 502-868-3644 859-750-5179 (Cell) 502-868-2298 (Fax) kenneth.klein@... _______________________________________________ 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/ |
Hi Kenneth,
the problem clearly is that NetRexx cannot locate the tools.jar file, which contains the Java compiler class that is needed. There are several solutions: 1) making sure that your classpath is OK 2) copying the tools.jar file to the extensions directory (if you did that last time and reinstalled java, this is the reason it fails now) 3) use the ecj compiler that is part of the NetRexx 3.01 release I would start with 1): verify that tools.jar is in your classpath. To do this, verify that tools.jar is where you tell the classpath it is; then move that section of the path to the front, to make sure there are no empty or nonexisting sections in between. I am not sure why there are no slashes in your pathnames in the envirotest program output; this makes the diagnose not easier. I would have to try the program myself to see if this is an artifact of it. The Quick Start Guide has a good troubleshooting section; please have a look at that, and for option (3), check out the chapter that discusses the use of ecj. Please let us know quickly when this all fails, because we will solve it. We can do a webex with remote control if all else fails. best regards, René. On 2012-09-04 14:48, [hidden email] wrote: > I have nothing in: > > %netrexx_java% > > @rem Alias for NetRexxC.bat > @echo off > call netrexxc.bat %1 %2 %3 %4 %5 %6 %7 %8 %9 > > @REM : Batch file to translate and compile a NetRexx program, and > @REM : optionally run the resulting class file > @REM > :----------------------------------------------------------------- > @REM : use as: NetRexxC hello > @REM : > @REM : which will use the NetRexx translator to translate the > @REM : source file hello.nrx to hello.java > @REM : then will use javac to compile hello.java > @REM : > @REM : Up to eight OPTIONS keywords may be added (with a -) before or > @REM : after the file specification, along with the extra flags known > @REM : to NetRexxC (such as -keep). For example: > @REM : > @REM : NetRexxC -keep -format -comments hello > @REM : > @REM : Invoke with no parameters for a full list of flags. > @REM : > @REM : To run the class after compilation, specify -run as the > @REM : first word of the command arguments and the name of the > @REM : class as the second word. Note that the case of the > @REM : letters must be exactly correct for this to work, and do not > @REM : specify the .nrx extension. For example: > @REM : > @REM : NetRexxC -run hello > @REM : > @REM : For a more flexible script for this, see NetRexxC.cmd > @REM > :----------------------------------------------------------------- > @REM : 1996.12.28 -- initial version derived from NetRexxC.cmd > @REM : 1998.05.25 -- use NETREXX_JAVA as options to java.exe > @REM : 2011.09.01 -- use org.netrexx.process > @REM : 2011.09.01 -- remove -xms4M > @REM : 2011.09.29 -- add error msg for -run with x.nrx name format > > @echo off > set netrexxc.bat_run=no > if not '%1'=='-run' goto compile > set netrexxc.bat_run=yes > shift > :compile > java %netrexx_java% org.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 > %8 %9 > if errorlevel 2 goto quit > if %netrexxc.bat_run%==no goto quit > echo Running %1... > IF EXIST %1.class (java %1) ELSE echo -run error: class file not > found > - do not add .nrx to name > :quit:quit > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 > > set netrexxc.bat_run=no > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 > > if not 'fcgui.nrx' == '-run' goto compile > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 > > java org.netrexx.process.NetRexxC fcgui.nrx > NetRexx portable processor, version NetRexx 3.01RC2, build > 1-20110925-2337 > Copyright (c) RexxLA, 2011. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > 1931 classes imported from 'javax.swing.' > 72 classes imported from 'java.text.' > 440 classes imported from 'javax.swing.text.' > 3 classes imported from 'netrexx.lang.Rexx' > Loaded public class 'java.lang.Object' > Loaded public abstract class 'java.awt.event.KeyAdapter' > Loaded public abstract interface class 'java.awt.event.KeyListener' > Loaded public abstract interface class 'java.util.EventListener' > Loaded public abstract interface class > 'java.awt.event.ActionListener' > Loaded public class 'java.awt.GridBagConstraints' > Loaded public abstract class 'java.awt.event.WindowAdapter' > Loaded public abstract interface class > 'java.awt.event.WindowListener' > Loaded public abstract interface class > 'java.awt.event.WindowStateListener' > Loaded public abstract interface class > 'java.awt.event.WindowFocusListener' > Translating 'fcgui.nrx' [Pass 1] > === class fcgui === [pass 1] > Loaded public abstract interface class 'java.lang.Cloneable' > Loaded public abstract interface class 'java.io.Serializable' > Loaded public class 'netrexx.lang.Rexx' > Loaded public abstract class 'java.awt.Component' > Loaded public class 'java.awt.Container' > Loaded public class 'java.awt.Window' > Loaded public class 'java.awt.Frame' > Loaded public class 'javax.swing.JFrame' > Loaded public abstract class 'javax.swing.JComponent' > Loaded public abstract class 'javax.swing.text.JTextComponent' > Loaded public class 'javax.swing.JTextField' > Loaded public abstract class 'javax.swing.AbstractButton' > Loaded public class 'javax.swing.JButton' > Loaded public abstract interface class 'javax.swing.Icon' > Loaded public final class 'java.lang.String' > Loaded public abstract interface class 'java.lang.Comparable' > Loaded public abstract interface class 'java.lang.CharSequence' > Loaded public class 'javax.swing.JTextArea' > method main [line 67] > method LoadTable [line 129] > Loaded public class 'java.lang.Throwable' > Loaded public class 'java.lang.Exception' > Loaded public class 'java.io.IOException' > Loaded public class 'java.lang.RuntimeException' > Loaded public class 'java.lang.Error' > method fcgui [line 156] > method DrawTheCard [line 165] > method ShowNextCard [line 309] > method Submit_Check [line 352] > method keyTyped [line 393] > Loaded public class 'java.util.EventObject' > Loaded public abstract class 'java.awt.AWTEvent' > Loaded public class 'java.awt.event.ComponentEvent' > Loaded public abstract class 'java.awt.event.InputEvent' > Loaded public class 'java.awt.event.KeyEvent' > method keyReleased [line 413] > method getNextCardNum [line 447] > method actionPerformed [line 479] > Loaded public class 'java.awt.event.ActionEvent' > method DisplayScore [line 496] > method reset [line 504] > method elapsed [line 509] > method GetRand [line 518] > method WriteAndLeave [line 522] > method GuiClose [line 540] > > === class CloseWindowAdapter === [pass 1] > method windowClosing [line 549] > Loaded public class 'java.awt.event.WindowEvent' > Program fcgui.nrx [pass 2, over 645 clauses] > === class fcgui === > function main(String[]) > Loaded public class 'IsFile' > Loaded public final class 'java.lang.System' > Loaded public class 'netrexx.lang.BadArgumentException' > signals IOException > function LoadTable(Rexx) > Loaded public abstract class 'java.io.Reader' > Loaded public class 'java.io.InputStreamReader' > Loaded public class 'java.io.FileReader' > Loaded public class 'java.io.File' > Loaded public abstract interface class 'netrexx.lang.RexxOperators' > Loaded public final class 'java.io.FileDescriptor' > Loaded public class 'java.io.FileNotFoundException' > Loaded public class 'java.io.BufferedReader' > constructor fcgui(int,boolean,boolean) > method DrawTheCard > Loaded public abstract class 'java.awt.GraphicsConfiguration' > Loaded public class 'java.lang.UnsupportedOperationException' > Loaded public class 'java.awt.HeadlessException' > Loaded public class 'java.awt.GridBagLayout' > Loaded public abstract interface class 'java.awt.LayoutManager' > Loaded public abstract interface class 'java.awt.LayoutManager2' > Loaded public class 'java.awt.Insets' > Loaded public abstract class 'java.awt.Toolkit' > Loaded public abstract class 'java.awt.geom.Dimension2D' > Loaded public class 'java.awt.Dimension' > Loaded public class 'java.awt.Color' > Loaded public class 'java.awt.Font' > Loaded public abstract interface class 'javax.swing.Scrollable' > Loaded public abstract interface class > 'javax.accessibility.Accessible' > Loaded public class 'javax.swing.TransferHandler' > Loaded private abstract interface class > 'javax.swing.TransferHandler.HasGetTransferHandler' > Loaded public abstract interface class > 'java.awt.image.ImageObserver' > > Loaded public abstract interface class 'java.awt.MenuContainer' > Loaded public abstract interface class 'javax.swing.text.Document' > Loaded public abstract interface class 'java.awt.ItemSelectable' > Loaded public abstract interface class 'javax.swing.SwingConstants' > method ShowNextCard(Rexx) > Loaded public class 'javax.swing.SwingUtilities' > Loaded public abstract class 'java.text.Format' > Loaded public abstract class 'java.text.DateFormat' > Loaded public class 'java.text.SimpleDateFormat' > Loaded public class 'java.util.Date' > method Submit_Check(String) > Loaded public class 'javax.swing.JOptionPane' > Loaded public abstract interface class 'javax.swing.WindowConstants' > Loaded public abstract interface class > 'javax.swing.RootPaneContainer' > method keyTyped(KeyEvent) > Loaded public class 'netrexx.lang.NotCharacterException' > overrides KeyAdapter.keyTyped(KeyEvent) > implements KeyListener.keyTyped(KeyEvent) > method keyReleased(KeyEvent) > overrides KeyAdapter.keyReleased(KeyEvent) > implements KeyListener.keyReleased(KeyEvent) > method getNextCardNum(int,boolean) > method actionPerformed(ActionEvent) > implements ActionListener.actionPerformed(ActionEvent) > method DisplayScore(int) > function reset > function elapsed > Loaded public class 'java.lang.IllegalArgumentException' > Loaded public class 'java.lang.NumberFormatException' > function GetRand(int) > Loaded public final class 'java.lang.Math' > function WriteAndLeave(Rexx) > Loaded public abstract class 'java.io.Writer' > Loaded public class 'java.io.OutputStreamWriter' > Loaded public class 'java.io.FileWriter' > Loaded public class 'java.io.PrintWriter' > Loaded public abstract class 'java.io.OutputStream' > Loaded public abstract interface class 'java.lang.Appendable' > Loaded public abstract interface class 'java.io.Closeable' > Loaded public abstract interface class 'java.io.Flushable' > Loaded public abstract interface class 'java.lang.AutoCloseable' > function GuiClose > > === class CloseWindowAdapter === > method windowClosing(WindowEvent) > overrides WindowAdapter.windowClosing(WindowEvent) > Compiling: '-nowarn -classpath > .;C:REXXNetRexxlibNetRexxC.jar;C:Program > FilesJavajdk1.7.0_05libtools.jar;C:Program > FilesJavajre7libalt-rt.jar;C:Program > FilesJavajre7libcharsets.jar;C:Program > FilesJavajre7libdeploy.jar;C:Program > FilesJavajre7libjavaws.jar;C:Program > FilesJavajre7libjce.jar;C:Program > FilesJavajre7libjfr.jar;C:Program FilesJavajre7libjsse.jar;C:Program > FilesJavajre7libmanagement-agent.jar;C:Program > FilesJavajre7libplugin.jar;C:Program > FilesJavajre7libresources.jar;C:Program > FilesJavajre7librt.jar;C:Program > FilesJavajre7libextdnsns.jar;C:Program > FilesJavajre7libextlocaledata.jar;C:Program > FilesJavajre7libextNetRexxC.jar;C:Program > FilesJavajre7libextsunec.jar;C:Program > FilesJavajre7libextsunjce_provider.jar;C:Program > FilesJavajre7libextsunmscapi.jar;C:Program > FilesJavajre7libextsunpkcs11.jar;C:Program > FilesJavajre7libextzipfs.jar C:REXXNetRexxbjcp9fcgui.java' > Exception in thread "main" java.lang.NoClassDefFoundError: > sun/tools/javac/Main > at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:618) > at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239) > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165) > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154) > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152) > at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91) > Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main > at java.net.URLClassLoader$1.run(Unknown Source) > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > ... 6 more > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:42.30 > > if errorlevel 2 goto quit > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:42.30 > > if no == no goto quit > > Kenneth Klein > > KERMIT KISER <[hidden email]> > Sent by: [hidden email] > > 08/31/2012 11:04 PM > > Please respond to > IBM Netrexx <[hidden email]> > > To IBM Netrexx <[hidden email]> > > cc > > Subject Re: [Ibm-netrexx] error after moving to new machine on > windows > 7 > > Hi Kenneth -- > > Can you show us your nrc.bat and NetRexxC.bat files? Windows Java > does not always do what you might expect - It largely ignores > environment variables/paths and may decide what to run based on > registry values. > > -- Kermit > > On 8/31/2012 4:16 AM, [hidden email] wrote: > > I'm having path or classpath problems again. nrc was working and > then > I moved some files around and now its hosed: > > Exception in thread "main" java.lang.NoClassDefFoundError: > sun/tools/javac/Main > > method getNextCardNum(int,boolean) > > method actionPerformed(ActionEvent) > > implements ActionListener.actionPerformed(ActionEvent) > > method DisplayScore(int) > > function reset > > function elapsed > > Loaded public class 'java.lang.IllegalArgumentException' > > Loaded public class 'java.lang.NumberFormatException' > > function GetRand(int) > > Loaded public final class 'java.lang.Math' > > function WriteAndLeave(Rexx) > > Loaded public abstract class 'java.io.Writer' > > Loaded public class 'java.io.OutputStreamWriter' > > Loaded public class 'java.io.FileWriter' > > Loaded public class 'java.io.PrintWriter' > > Loaded public abstract class 'java.io.OutputStream' > > Loaded public abstract interface class 'java.lang.Appendable' > > Loaded public abstract interface class 'java.io.Closeable' > > Loaded public abstract interface class 'java.io.Flushable' > > Loaded public abstract interface class 'java.lang.AutoCloseable' > > function GuiClose > > === class CloseWindowAdapter === > > method windowClosing(WindowEvent) > > overrides WindowAdapter.windowClosing(WindowEvent) > > Compiling: '-nowarn -classpath .;C:Program > > FilesJavajdk1.7.0_05libtools.jar;H:kekleinREXXNetRexxlibNetRexxC.jar;C:Program > FilesJavajre7libalt-rt.jar;C:Program > FilesJavajre7libcharsets.jar;C:Program > FilesJavajre7libdeploy.jar;C:Program > FilesJavajre7libjavaws.jar;C:Program > FilesJavajre7libjce.jar;C:Program > FilesJavajre7libjfr.jar;C:Program FilesJavajre7libjsse.jar;C:Program > FilesJavajre7libmanagement-agent.jar;C:Program > FilesJavajre7libplugin.jar;C:Program > FilesJavajre7libresources.jar;C:Program > FilesJavajre7librt.jar;C:Program > FilesJavajre7libextdnsns.jar;C:Program > FilesJavajre7libextlocaledata.jar;C:Program > FilesJavajre7libextNetRexxC.jar;C:Program > FilesJavajre7libextsunec.jar;C:Program > FilesJavajre7libextsunjce_provider.jar;C:Program > FilesJavajre7libextsunmscapi.jar;C:Program > FilesJavajre7libextsunpkcs11.jar;C:Program > FilesJavajre7libextzipfs.jar H:kekleinREXXNetRexxbjcp9fcgui.java' > > Exception in thread "main" java.lang.NoClassDefFoundError: > sun/tools/javac/Main > > at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:618) > > at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239) > > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165) > > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154) > > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152) > > at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91) > > Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main > > at java.net.URLClassLoader$1.run(Unknown Source) > > at java.net.URLClassLoader$1.run(Unknown Source) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > ... 6 mor > > NetRexx Envirotest version 1.4 > Java properties: > java.version: 1.7.0_05 > java.home: C:Program FilesJavajre7 > java.class.path: .;C:Program > FilesJavajre6libextNetRexxC.jar;C:Program > FilesJavajdk1.7.0_05libtools.jar;C:Program > FilesJavajre6libextQTJava.zip;;H:kekleinREXXNetRexxlibNetRexxC.jar > java.library.path: > > C:WINDOWSsystem32;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;.;H:keklein;H:kekleinREXXNetRexxbin;C:Program > Filesvimvim73;C:Program FilesIBMPersonal Communications;C:Program > FilesIBMTrace Facility;C:Program FilesJavajdk1.6.0_18bin;C:Program > > FilesQuickTimeQTSystem;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWSSystem32Wbem;H:kekleinMy > Documentsapache-ant-1.8.2bin;. > java.ext.dirs: C:Program FilesJavajre7libext;C:WINDOWSSunJavalibext > os.name: Windows 7 > os.arch: x86 > os.version: 6.1 > ANT_HOME: H:kekleinMy Documentsapache-ant-1.8.2 > HOME: C:documents and settingskeklein > HOMEPATH: > USERPROFILE: C:UsersKEKLEIN > Beginning scan for Java and NetRexx runtime or compiler programs: > Checking java.home > Checking java.home parent > found:C:Program FilesJavajdk1.7.0_05libtools.jar > Checking java.home grandparent > Checking Java extension directories > found:C:Program FilesJavajre7libextNetRexxC.jar > Checking Java classpath directories > found:C:Program FilesJavajdk1.7.0_05libtools.jar > found:H:kekleinREXXNetRexxlibNetRexxC.jar > Checking System path directories > found:C:WINDOWSsystem32java.exe > found:C:WINDOWSsystem32java.exe > found:H:keklein\NetRexxDE.jar > found:H:kekleinREXXNetRexxbinnrc.bat > found:H:kekleinREXXNetRexxbinnrc.cmd > found:H:kekleinREXXNetRexxbinNetRexxC.sh > found:H:kekleinREXXNetRexxbinNetRexxC.cmd > found:H:kekleinREXXNetRexxbinNetRexxC.bat > found:H:kekleinREXXNetRexxNetRexxC.jar > found:C:WINDOWSsystem32java.exe > Checking Ant directory > Checking home directory > Checking homepath directory > Checking userprofile director > > Kenneth Klein > Systems Specialist > 502-868-3644 > 859-750-5179 (Cell) > 502-868-2298 (Fax) > [hidden email] > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] [1] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ [2] > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > > > > Links: > ------ > [1] mailto:[hidden email] > [2] http://ibm-netrexx.215625.n3.nabble.com/ _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
This is my path and classpath. C:\REXX\NetRexx\bjcp9 Tue 09/04/2012 11:21:45.88 > echo off "This is a nice list of your path at the moment:" . C:\Users\KEKLEIN\ C:\REXX\NetRexx\nr301\bin C:\REXX\NrxRedBk\Redbook C:\Program Files\vim\vim73 C:\Program Files\IBM\Personal Communications\ C:\Program Files\IBM\Trace Facility\ C:\Program Files\Java\jdk1.7.0_05\bin C:\Program Files\QuickTime\QTSystem\ C:\WINDOWS C:\WINDOWS\system32 C:\WINDOWS\System32\Wbem C:\Users\KEKLEIN\My Documents\apache-ant-1.8.2\bin C:\netrexxify "This is a nice list of your classpath at the moment:" "C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar" C:\REXX\netrexx\lib\NetRexxC.jar C:\REXX\netrexx\lib\tools.jar Done. This is how I generate the above listing: echo off :: @echo %0 :: type %0 set holding.file.tmp=%random%.listpath.tmp @echo. %path% > %holding.file.tmp% @echo. @echo. "This is a nice list of your path at the moment:" @echo. for /F "usebackq eol=^ tokens=1-26* delims=;" %%a in (`type %holding.file.tmp%`) do ( if NOT "%%a"=="" echo. %%a if NOT "%%b"=="" echo. %%b if NOT "%%c"=="" echo. %%c if NOT "%%d"=="" echo. %%d if NOT "%%e"=="" echo. %%e if NOT "%%f"=="" echo. %%f if NOT "%%g"=="" echo. %%g if NOT "%%h"=="" echo. %%h if NOT "%%i"=="" echo. %%i if NOT "%%j"=="" echo. %%j if NOT "%%k"=="" echo. %%k if NOT "%%l"=="" echo. %%l if NOT "%%m"=="" echo. %%m if NOT "%%n"=="" echo. %%n if NOT "%%o"=="" echo. %%o if NOT "%%p"=="" echo. %%p if NOT "%%q"=="" echo. %%q if NOT "%%r"=="" echo. %%r if NOT "%%s"=="" echo. %%s if NOT "%%t"=="" echo. %%t if NOT "%%u"=="" echo. %%u if NOT "%%v"=="" echo. %%v if NOT "%%w"=="" echo. %%w if NOT "%%x"=="" echo. %%x if NOT "%%y"=="" echo. %%y if NOT "%%z"=="" echo. %%z ) ::del %holding.file.tmp% set holding.fileB.tmp=%random%.listpath.tmp @echo. %classpath% > %holding.fileB.tmp% @echo. @echo. "This is a nice list of your classpath at the moment:" @echo. for /F "usebackq eol=^ tokens=1-26* delims=;" %%a in (`type %holding.fileB.tmp%`) do ( if NOT "%%a"=="" echo. %%a if NOT "%%b"=="" echo. %%b if NOT "%%c"=="" echo. %%c if NOT "%%d"=="" echo. %%d if NOT "%%e"=="" echo. %%e if NOT "%%f"=="" echo. %%f if NOT "%%g"=="" echo. %%g if NOT "%%h"=="" echo. %%h if NOT "%%i"=="" echo. %%i if NOT "%%j"=="" echo. %%j if NOT "%%k"=="" echo. %%k if NOT "%%l"=="" echo. %%l if NOT "%%m"=="" echo. %%m if NOT "%%n"=="" echo. %%n if NOT "%%o"=="" echo. %%o if NOT "%%p"=="" echo. %%p if NOT "%%q"=="" echo. %%q if NOT "%%r"=="" echo. %%r if NOT "%%s"=="" echo. %%s if NOT "%%t"=="" echo. %%t if NOT "%%u"=="" echo. %%u if NOT "%%v"=="" echo. %%v if NOT "%%w"=="" echo. %%w if NOT "%%x"=="" echo. %%x if NOT "%%y"=="" echo. %%y if NOT "%%z"=="" echo. %%z ) @echo. ::del %holding.fileB.tmp% @echo. Done. @echo. I think the netrexxC.bat script cannot handle the space in the path to tools.jar. Java 7 no longer has any "ext" directory.
Hi Kenneth, the problem clearly is that NetRexx cannot locate the tools.jar file, which contains the Java compiler class that is needed. There are several solutions: 1) making sure that your classpath is OK 2) copying the tools.jar file to the extensions directory (if you did that last time and reinstalled java, this is the reason it fails now) 3) use the ecj compiler that is part of the NetRexx 3.01 release I would start with 1): verify that tools.jar is in your classpath. To do this, verify that tools.jar is where you tell the classpath it is; then move that section of the path to the front, to make sure there are no empty or nonexisting sections in between. I am not sure why there are no slashes in your pathnames in the envirotest program output; this makes the diagnose not easier. I would have to try the program myself to see if this is an artifact of it. The Quick Start Guide has a good troubleshooting section; please have a look at that, and for option (3), check out the chapter that discusses the use of ecj. Please let us know quickly when this all fails, because we will solve it. We can do a webex with remote control if all else fails. best regards, René. On 2012-09-04 14:48, [hidden email] wrote: > I have nothing in: > > %netrexx_java% > > @rem Alias for NetRexxC.bat > @echo off > call netrexxc.bat %1 %2 %3 %4 %5 %6 %7 %8 %9 > > @REM : Batch file to translate and compile a NetRexx program, and > @REM : optionally run the resulting class file > @REM > :----------------------------------------------------------------- > @REM : use as: NetRexxC hello > @REM : > @REM : which will use the NetRexx translator to translate the > @REM : source file hello.nrx to hello.java > @REM : then will use javac to compile hello.java > @REM : > @REM : Up to eight OPTIONS keywords may be added (with a -) before or > @REM : after the file specification, along with the extra flags known > @REM : to NetRexxC (such as -keep). For example: > @REM : > @REM : NetRexxC -keep -format -comments hello > @REM : > @REM : Invoke with no parameters for a full list of flags. > @REM : > @REM : To run the class after compilation, specify -run as the > @REM : first word of the command arguments and the name of the > @REM : class as the second word. Note that the case of the > @REM : letters must be exactly correct for this to work, and do not > @REM : specify the .nrx extension. For example: > @REM : > @REM : NetRexxC -run hello > @REM : > @REM : For a more flexible script for this, see NetRexxC.cmd > @REM > :----------------------------------------------------------------- > @REM : 1996.12.28 -- initial version derived from NetRexxC.cmd > @REM : 1998.05.25 -- use NETREXX_JAVA as options to java.exe > @REM : 2011.09.01 -- use org.netrexx.process > @REM : 2011.09.01 -- remove -xms4M > @REM : 2011.09.29 -- add error msg for -run with x.nrx name format > > @echo off > set netrexxc.bat_run=no > if not '%1'=='-run' goto compile > set netrexxc.bat_run=yes > shift > :compile > java %netrexx_java% org.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 > %8 %9 > if errorlevel 2 goto quit > if %netrexxc.bat_run%==no goto quit > echo Running %1... > IF EXIST %1.class (java %1) ELSE echo -run error: class file not > found > - do not add .nrx to name > :quit:quit > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 > > set netrexxc.bat_run=no > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 > > if not 'fcgui.nrx' == '-run' goto compile > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 > > java org.netrexx.process.NetRexxC fcgui.nrx > NetRexx portable processor, version NetRexx 3.01RC2, build > 1-20110925-2337 > Copyright (c) RexxLA, 2011. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > 1931 classes imported from 'javax.swing.' > 72 classes imported from 'java.text.' > 440 classes imported from 'javax.swing.text.' > 3 classes imported from 'netrexx.lang.Rexx' > Loaded public class 'java.lang.Object' > Loaded public abstract class 'java.awt.event.KeyAdapter' > Loaded public abstract interface class 'java.awt.event.KeyListener' > Loaded public abstract interface class 'java.util.EventListener' > Loaded public abstract interface class > 'java.awt.event.ActionListener' > Loaded public class 'java.awt.GridBagConstraints' > Loaded public abstract class 'java.awt.event.WindowAdapter' > Loaded public abstract interface class > 'java.awt.event.WindowListener' > Loaded public abstract interface class > 'java.awt.event.WindowStateListener' > Loaded public abstract interface class > 'java.awt.event.WindowFocusListener' > Translating 'fcgui.nrx' [Pass 1] > === class fcgui === [pass 1] > Loaded public abstract interface class 'java.lang.Cloneable' > Loaded public abstract interface class 'java.io.Serializable' > Loaded public class 'netrexx.lang.Rexx' > Loaded public abstract class 'java.awt.Component' > Loaded public class 'java.awt.Container' > Loaded public class 'java.awt.Window' > Loaded public class 'java.awt.Frame' > Loaded public class 'javax.swing.JFrame' > Loaded public abstract class 'javax.swing.JComponent' > Loaded public abstract class 'javax.swing.text.JTextComponent' > Loaded public class 'javax.swing.JTextField' > Loaded public abstract class 'javax.swing.AbstractButton' > Loaded public class 'javax.swing.JButton' > Loaded public abstract interface class 'javax.swing.Icon' > Loaded public final class 'java.lang.String' > Loaded public abstract interface class 'java.lang.Comparable' > Loaded public abstract interface class 'java.lang.CharSequence' > Loaded public class 'javax.swing.JTextArea' > method main [line 67] > method LoadTable [line 129] > Loaded public class 'java.lang.Throwable' > Loaded public class 'java.lang.Exception' > Loaded public class 'java.io.IOException' > Loaded public class 'java.lang.RuntimeException' > Loaded public class 'java.lang.Error' > method fcgui [line 156] > method DrawTheCard [line 165] > method ShowNextCard [line 309] > method Submit_Check [line 352] > method keyTyped [line 393] > Loaded public class 'java.util.EventObject' > Loaded public abstract class 'java.awt.AWTEvent' > Loaded public class 'java.awt.event.ComponentEvent' > Loaded public abstract class 'java.awt.event.InputEvent' > Loaded public class 'java.awt.event.KeyEvent' > method keyReleased [line 413] > method getNextCardNum [line 447] > method actionPerformed [line 479] > Loaded public class 'java.awt.event.ActionEvent' > method DisplayScore [line 496] > method reset [line 504] > method elapsed [line 509] > method GetRand [line 518] > method WriteAndLeave [line 522] > method GuiClose [line 540] > > === class CloseWindowAdapter === [pass 1] > method windowClosing [line 549] > Loaded public class 'java.awt.event.WindowEvent' > Program fcgui.nrx [pass 2, over 645 clauses] > === class fcgui === > function main(String[]) > Loaded public class 'IsFile' > Loaded public final class 'java.lang.System' > Loaded public class 'netrexx.lang.BadArgumentException' > signals IOException > function LoadTable(Rexx) > Loaded public abstract class 'java.io.Reader' > Loaded public class 'java.io.InputStreamReader' > Loaded public class 'java.io.FileReader' > Loaded public class 'java.io.File' > Loaded public abstract interface class 'netrexx.lang.RexxOperators' > Loaded public final class 'java.io.FileDescriptor' > Loaded public class 'java.io.FileNotFoundException' > Loaded public class 'java.io.BufferedReader' > constructor fcgui(int,boolean,boolean) > method DrawTheCard > Loaded public abstract class 'java.awt.GraphicsConfiguration' > Loaded public class 'java.lang.UnsupportedOperationException' > Loaded public class 'java.awt.HeadlessException' > Loaded public class 'java.awt.GridBagLayout' > Loaded public abstract interface class 'java.awt.LayoutManager' > Loaded public abstract interface class 'java.awt.LayoutManager2' > Loaded public class 'java.awt.Insets' > Loaded public abstract class 'java.awt.Toolkit' > Loaded public abstract class 'java.awt.geom.Dimension2D' > Loaded public class 'java.awt.Dimension' > Loaded public class 'java.awt.Color' > Loaded public class 'java.awt.Font' > Loaded public abstract interface class 'javax.swing.Scrollable' > Loaded public abstract interface class > 'javax.accessibility.Accessible' > Loaded public class 'javax.swing.TransferHandler' > Loaded private abstract interface class > 'javax.swing.TransferHandler.HasGetTransferHandler' > Loaded public abstract interface class > 'java.awt.image.ImageObserver' > > Loaded public abstract interface class 'java.awt.MenuContainer' > Loaded public abstract interface class 'javax.swing.text.Document' > Loaded public abstract interface class 'java.awt.ItemSelectable' > Loaded public abstract interface class 'javax.swing.SwingConstants' > method ShowNextCard(Rexx) > Loaded public class 'javax.swing.SwingUtilities' > Loaded public abstract class 'java.text.Format' > Loaded public abstract class 'java.text.DateFormat' > Loaded public class 'java.text.SimpleDateFormat' > Loaded public class 'java.util.Date' > method Submit_Check(String) > Loaded public class 'javax.swing.JOptionPane' > Loaded public abstract interface class 'javax.swing.WindowConstants' > Loaded public abstract interface class > 'javax.swing.RootPaneContainer' > method keyTyped(KeyEvent) > Loaded public class 'netrexx.lang.NotCharacterException' > overrides KeyAdapter.keyTyped(KeyEvent) > implements KeyListener.keyTyped(KeyEvent) > method keyReleased(KeyEvent) > overrides KeyAdapter.keyReleased(KeyEvent) > implements KeyListener.keyReleased(KeyEvent) > method getNextCardNum(int,boolean) > method actionPerformed(ActionEvent) > implements ActionListener.actionPerformed(ActionEvent) > method DisplayScore(int) > function reset > function elapsed > Loaded public class 'java.lang.IllegalArgumentException' > Loaded public class 'java.lang.NumberFormatException' > function GetRand(int) > Loaded public final class 'java.lang.Math' > function WriteAndLeave(Rexx) > Loaded public abstract class 'java.io.Writer' > Loaded public class 'java.io.OutputStreamWriter' > Loaded public class 'java.io.FileWriter' > Loaded public class 'java.io.PrintWriter' > Loaded public abstract class 'java.io.OutputStream' > Loaded public abstract interface class 'java.lang.Appendable' > Loaded public abstract interface class 'java.io.Closeable' > Loaded public abstract interface class 'java.io.Flushable' > Loaded public abstract interface class 'java.lang.AutoCloseable' > function GuiClose > > === class CloseWindowAdapter === > method windowClosing(WindowEvent) > overrides WindowAdapter.windowClosing(WindowEvent) > Compiling: '-nowarn -classpath > .;C:REXXNetRexxlibNetRexxC.jar;C:Program > FilesJavajdk1.7.0_05libtools.jar;C:Program > FilesJavajre7libalt-rt.jar;C:Program > FilesJavajre7libcharsets.jar;C:Program > FilesJavajre7libdeploy.jar;C:Program > FilesJavajre7libjavaws.jar;C:Program > FilesJavajre7libjce.jar;C:Program > FilesJavajre7libjfr.jar;C:Program FilesJavajre7libjsse.jar;C:Program > FilesJavajre7libmanagement-agent.jar;C:Program > FilesJavajre7libplugin.jar;C:Program > FilesJavajre7libresources.jar;C:Program > FilesJavajre7librt.jar;C:Program > FilesJavajre7libextdnsns.jar;C:Program > FilesJavajre7libextlocaledata.jar;C:Program > FilesJavajre7libextNetRexxC.jar;C:Program > FilesJavajre7libextsunec.jar;C:Program > FilesJavajre7libextsunjce_provider.jar;C:Program > FilesJavajre7libextsunmscapi.jar;C:Program > FilesJavajre7libextsunpkcs11.jar;C:Program > FilesJavajre7libextzipfs.jar C:REXXNetRexxbjcp9fcgui.java' > Exception in thread "main" java.lang.NoClassDefFoundError: > sun/tools/javac/Main > at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:618) > at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239) > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165) > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154) > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152) > at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91) > Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main > at java.net.URLClassLoader$1.run(Unknown Source) > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > ... 6 more > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:42.30 > > if errorlevel 2 goto quit > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:42.30 > > if no == no goto quit > > Kenneth Klein > > KERMIT KISER <[hidden email]> > Sent by: [hidden email] > > 08/31/2012 11:04 PM > > Please respond to > IBM Netrexx <[hidden email]> > > To IBM Netrexx <[hidden email]> > > cc > > Subject Re: [Ibm-netrexx] error after moving to new machine on > windows > 7 > > Hi Kenneth -- > > Can you show us your nrc.bat and NetRexxC.bat files? Windows Java > does not always do what you might expect - It largely ignores > environment variables/paths and may decide what to run based on > registry values. > > -- Kermit > > On 8/31/2012 4:16 AM, [hidden email] wrote: > > I'm having path or classpath problems again. nrc was working and > then > I moved some files around and now its hosed: > > Exception in thread "main" java.lang.NoClassDefFoundError: > sun/tools/javac/Main > > method getNextCardNum(int,boolean) > > method actionPerformed(ActionEvent) > > implements ActionListener.actionPerformed(ActionEvent) > > method DisplayScore(int) > > function reset > > function elapsed > > Loaded public class 'java.lang.IllegalArgumentException' > > Loaded public class 'java.lang.NumberFormatException' > > function GetRand(int) > > Loaded public final class 'java.lang.Math' > > function WriteAndLeave(Rexx) > > Loaded public abstract class 'java.io.Writer' > > Loaded public class 'java.io.OutputStreamWriter' > > Loaded public class 'java.io.FileWriter' > > Loaded public class 'java.io.PrintWriter' > > Loaded public abstract class 'java.io.OutputStream' > > Loaded public abstract interface class 'java.lang.Appendable' > > Loaded public abstract interface class 'java.io.Closeable' > > Loaded public abstract interface class 'java.io.Flushable' > > Loaded public abstract interface class 'java.lang.AutoCloseable' > > function GuiClose > > === class CloseWindowAdapter === > > method windowClosing(WindowEvent) > > overrides WindowAdapter.windowClosing(WindowEvent) > > Compiling: '-nowarn -classpath .;C:Program > > FilesJavajdk1.7.0_05libtools.jar;H:kekleinREXXNetRexxlibNetRexxC.jar;C:Program > FilesJavajre7libalt-rt.jar;C:Program > FilesJavajre7libcharsets.jar;C:Program > FilesJavajre7libdeploy.jar;C:Program > FilesJavajre7libjavaws.jar;C:Program > FilesJavajre7libjce.jar;C:Program > FilesJavajre7libjfr.jar;C:Program FilesJavajre7libjsse.jar;C:Program > FilesJavajre7libmanagement-agent.jar;C:Program > FilesJavajre7libplugin.jar;C:Program > FilesJavajre7libresources.jar;C:Program > FilesJavajre7librt.jar;C:Program > FilesJavajre7libextdnsns.jar;C:Program > FilesJavajre7libextlocaledata.jar;C:Program > FilesJavajre7libextNetRexxC.jar;C:Program > FilesJavajre7libextsunec.jar;C:Program > FilesJavajre7libextsunjce_provider.jar;C:Program > FilesJavajre7libextsunmscapi.jar;C:Program > FilesJavajre7libextsunpkcs11.jar;C:Program > FilesJavajre7libextzipfs.jar H:kekleinREXXNetRexxbjcp9fcgui.java' > > Exception in thread "main" java.lang.NoClassDefFoundError: > sun/tools/javac/Main > > at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:618) > > at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239) > > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165) > > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154) > > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152) > > at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91) > > Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main > > at java.net.URLClassLoader$1.run(Unknown Source) > > at java.net.URLClassLoader$1.run(Unknown Source) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > ... 6 mor > > NetRexx Envirotest version 1.4 > Java properties: > java.version: 1.7.0_05 > java.home: C:Program FilesJavajre7 > java.class.path: .;C:Program > FilesJavajre6libextNetRexxC.jar;C:Program > FilesJavajdk1.7.0_05libtools.jar;C:Program > FilesJavajre6libextQTJava.zip;;H:kekleinREXXNetRexxlibNetRexxC.jar > java.library.path: > > C:WINDOWSsystem32;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;.;H:keklein;H:kekleinREXXNetRexxbin;C:Program > Filesvimvim73;C:Program FilesIBMPersonal Communications;C:Program > FilesIBMTrace Facility;C:Program FilesJavajdk1.6.0_18bin;C:Program > > FilesQuickTimeQTSystem;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWSSystem32Wbem;H:kekleinMy > Documentsapache-ant-1.8.2bin;. > java.ext.dirs: C:Program FilesJavajre7libext;C:WINDOWSSunJavalibext > os.name: Windows 7 > os.arch: x86 > os.version: 6.1 > ANT_HOME: H:kekleinMy Documentsapache-ant-1.8.2 > HOME: C:documents and settingskeklein > HOMEPATH: > USERPROFILE: C:UsersKEKLEIN > Beginning scan for Java and NetRexx runtime or compiler programs: > Checking java.home > Checking java.home parent > found:C:Program FilesJavajdk1.7.0_05libtools.jar > Checking java.home grandparent > Checking Java extension directories > found:C:Program FilesJavajre7libextNetRexxC.jar > Checking Java classpath directories > found:C:Program FilesJavajdk1.7.0_05libtools.jar > found:H:kekleinREXXNetRexxlibNetRexxC.jar > Checking System path directories > found:C:WINDOWSsystem32java.exe > found:C:WINDOWSsystem32java.exe > found:H:keklein\NetRexxDE.jar > found:H:kekleinREXXNetRexxbinnrc.bat > found:H:kekleinREXXNetRexxbinnrc.cmd > found:H:kekleinREXXNetRexxbinNetRexxC.sh > found:H:kekleinREXXNetRexxbinNetRexxC.cmd > found:H:kekleinREXXNetRexxbinNetRexxC.bat > found:H:kekleinREXXNetRexxNetRexxC.jar > found:C:WINDOWSsystem32java.exe > Checking Ant directory > Checking home directory > Checking homepath directory > Checking userprofile director > > Kenneth Klein > Systems Specialist > 502-868-3644 > 859-750-5179 (Cell) > 502-868-2298 (Fax) > [hidden email] > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] [1] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ [2] > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > > > > Links: > ------ > [1] mailto:[hidden email] > [2] 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/ |
This is what finally works. @REM : 2011.09.01 -- use org.netrexx.process @REM : 2011.09.01 -- remove -xms4M @REM : 2011.09.29 -- add error msg for -run with x.nrx name format @echo on @echo setting the netrexx_java set netrexxc.bat_run=no if not '%1'=='-run' goto compile set netrexxc.bat_run=yes shift :compile java -Dnrx.compiler=ecj org.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 %8 %9 if errorlevel 2 goto quit if %netrexxc.bat_run%==no goto quit echo Running %1... IF EXIST %1.class (java %1) ELSE echo -run error: class file not found - do not add .nrx to name :quit:q And I put ecj-4.2.jar in the classpath.
This is my path and classpath. C:\REXX\NetRexx\bjcp9 Tue 09/04/2012 11:21:45.88 > echo off "This is a nice list of your path at the moment:" . C:\Users\KEKLEIN\ C:\REXX\NetRexx\nr301\bin C:\REXX\NrxRedBk\Redbook C:\Program Files\vim\vim73 C:\Program Files\IBM\Personal Communications\ C:\Program Files\IBM\Trace Facility\ C:\Program Files\Java\jdk1.7.0_05\bin C:\Program Files\QuickTime\QTSystem\ C:\WINDOWS C:\WINDOWS\system32 C:\WINDOWS\System32\Wbem C:\Users\KEKLEIN\My Documents\apache-ant-1.8.2\bin C:\netrexxify "This is a nice list of your classpath at the moment:" "C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar" C:\REXX\netrexx\lib\NetRexxC.jar C:\REXX\netrexx\lib\tools.jar Done. This is how I generate the above listing: echo off :: @echo %0 :: type %0 set holding.file.tmp=%random%.listpath.tmp @echo. %path% > %holding.file.tmp% @echo. @echo. "This is a nice list of your path at the moment:" @echo. for /F "usebackq eol=^ tokens=1-26* delims=;" %%a in (`type %holding.file.tmp%`) do ( if NOT "%%a"=="" echo. %%a if NOT "%%b"=="" echo. %%b if NOT "%%c"=="" echo. %%c if NOT "%%d"=="" echo. %%d if NOT "%%e"=="" echo. %%e if NOT "%%f"=="" echo. %%f if NOT "%%g"=="" echo. %%g if NOT "%%h"=="" echo. %%h if NOT "%%i"=="" echo. %%i if NOT "%%j"=="" echo. %%j if NOT "%%k"=="" echo. %%k if NOT "%%l"=="" echo. %%l if NOT "%%m"=="" echo. %%m if NOT "%%n"=="" echo. %%n if NOT "%%o"=="" echo. %%o if NOT "%%p"=="" echo. %%p if NOT "%%q"=="" echo. %%q if NOT "%%r"=="" echo. %%r if NOT "%%s"=="" echo. %%s if NOT "%%t"=="" echo. %%t if NOT "%%u"=="" echo. %%u if NOT "%%v"=="" echo. %%v if NOT "%%w"=="" echo. %%w if NOT "%%x"=="" echo. %%x if NOT "%%y"=="" echo. %%y if NOT "%%z"=="" echo. %%z ) ::del %holding.file.tmp% set holding.fileB.tmp=%random%.listpath.tmp @echo. %classpath% > %holding.fileB.tmp% @echo. @echo. "This is a nice list of your classpath at the moment:" @echo. for /F "usebackq eol=^ tokens=1-26* delims=;" %%a in (`type %holding.fileB.tmp%`) do ( if NOT "%%a"=="" echo. %%a if NOT "%%b"=="" echo. %%b if NOT "%%c"=="" echo. %%c if NOT "%%d"=="" echo. %%d if NOT "%%e"=="" echo. %%e if NOT "%%f"=="" echo. %%f if NOT "%%g"=="" echo. %%g if NOT "%%h"=="" echo. %%h if NOT "%%i"=="" echo. %%i if NOT "%%j"=="" echo. %%j if NOT "%%k"=="" echo. %%k if NOT "%%l"=="" echo. %%l if NOT "%%m"=="" echo. %%m if NOT "%%n"=="" echo. %%n if NOT "%%o"=="" echo. %%o if NOT "%%p"=="" echo. %%p if NOT "%%q"=="" echo. %%q if NOT "%%r"=="" echo. %%r if NOT "%%s"=="" echo. %%s if NOT "%%t"=="" echo. %%t if NOT "%%u"=="" echo. %%u if NOT "%%v"=="" echo. %%v if NOT "%%w"=="" echo. %%w if NOT "%%x"=="" echo. %%x if NOT "%%y"=="" echo. %%y if NOT "%%z"=="" echo. %%z ) @echo. ::del %holding.fileB.tmp% @echo. Done. @echo. I think the netrexxC.bat script cannot handle the space in the path to tools.jar. Java 7 no longer has any "ext" directory.
Hi Kenneth, the problem clearly is that NetRexx cannot locate the tools.jar file, which contains the Java compiler class that is needed. There are several solutions: 1) making sure that your classpath is OK 2) copying the tools.jar file to the extensions directory (if you did that last time and reinstalled java, this is the reason it fails now) 3) use the ecj compiler that is part of the NetRexx 3.01 release I would start with 1): verify that tools.jar is in your classpath. To do this, verify that tools.jar is where you tell the classpath it is; then move that section of the path to the front, to make sure there are no empty or nonexisting sections in between. I am not sure why there are no slashes in your pathnames in the envirotest program output; this makes the diagnose not easier. I would have to try the program myself to see if this is an artifact of it. The Quick Start Guide has a good troubleshooting section; please have a look at that, and for option (3), check out the chapter that discusses the use of ecj. Please let us know quickly when this all fails, because we will solve it. We can do a webex with remote control if all else fails. best regards, René. On 2012-09-04 14:48, [hidden email] wrote: > I have nothing in: > > %netrexx_java% > > @rem Alias for NetRexxC.bat > @echo off > call netrexxc.bat %1 %2 %3 %4 %5 %6 %7 %8 %9 > > @REM : Batch file to translate and compile a NetRexx program, and > @REM : optionally run the resulting class file > @REM > :----------------------------------------------------------------- > @REM : use as: NetRexxC hello > @REM : > @REM : which will use the NetRexx translator to translate the > @REM : source file hello.nrx to hello.java > @REM : then will use javac to compile hello.java > @REM : > @REM : Up to eight OPTIONS keywords may be added (with a -) before or > @REM : after the file specification, along with the extra flags known > @REM : to NetRexxC (such as -keep). For example: > @REM : > @REM : NetRexxC -keep -format -comments hello > @REM : > @REM : Invoke with no parameters for a full list of flags. > @REM : > @REM : To run the class after compilation, specify -run as the > @REM : first word of the command arguments and the name of the > @REM : class as the second word. Note that the case of the > @REM : letters must be exactly correct for this to work, and do not > @REM : specify the .nrx extension. For example: > @REM : > @REM : NetRexxC -run hello > @REM : > @REM : For a more flexible script for this, see NetRexxC.cmd > @REM > :----------------------------------------------------------------- > @REM : 1996.12.28 -- initial version derived from NetRexxC.cmd > @REM : 1998.05.25 -- use NETREXX_JAVA as options to java.exe > @REM : 2011.09.01 -- use org.netrexx.process > @REM : 2011.09.01 -- remove -xms4M > @REM : 2011.09.29 -- add error msg for -run with x.nrx name format > > @echo off > set netrexxc.bat_run=no > if not '%1'=='-run' goto compile > set netrexxc.bat_run=yes > shift > :compile > java %netrexx_java% org.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 > %8 %9 > if errorlevel 2 goto quit > if %netrexxc.bat_run%==no goto quit > echo Running %1... > IF EXIST %1.class (java %1) ELSE echo -run error: class file not > found > - do not add .nrx to name > :quit:quit > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 > > set netrexxc.bat_run=no > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 > > if not 'fcgui.nrx' == '-run' goto compile > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 > > java org.netrexx.process.NetRexxC fcgui.nrx > NetRexx portable processor, version NetRexx 3.01RC2, build > 1-20110925-2337 > Copyright (c) RexxLA, 2011. All rights reserved. > Parts Copyright (c) IBM Corporation, 1995,2008. > 1931 classes imported from 'javax.swing.' > 72 classes imported from 'java.text.' > 440 classes imported from 'javax.swing.text.' > 3 classes imported from 'netrexx.lang.Rexx' > Loaded public class 'java.lang.Object' > Loaded public abstract class 'java.awt.event.KeyAdapter' > Loaded public abstract interface class 'java.awt.event.KeyListener' > Loaded public abstract interface class 'java.util.EventListener' > Loaded public abstract interface class > 'java.awt.event.ActionListener' > Loaded public class 'java.awt.GridBagConstraints' > Loaded public abstract class 'java.awt.event.WindowAdapter' > Loaded public abstract interface class > 'java.awt.event.WindowListener' > Loaded public abstract interface class > 'java.awt.event.WindowStateListener' > Loaded public abstract interface class > 'java.awt.event.WindowFocusListener' > Translating 'fcgui.nrx' [Pass 1] > === class fcgui === [pass 1] > Loaded public abstract interface class 'java.lang.Cloneable' > Loaded public abstract interface class 'java.io.Serializable' > Loaded public class 'netrexx.lang.Rexx' > Loaded public abstract class 'java.awt.Component' > Loaded public class 'java.awt.Container' > Loaded public class 'java.awt.Window' > Loaded public class 'java.awt.Frame' > Loaded public class 'javax.swing.JFrame' > Loaded public abstract class 'javax.swing.JComponent' > Loaded public abstract class 'javax.swing.text.JTextComponent' > Loaded public class 'javax.swing.JTextField' > Loaded public abstract class 'javax.swing.AbstractButton' > Loaded public class 'javax.swing.JButton' > Loaded public abstract interface class 'javax.swing.Icon' > Loaded public final class 'java.lang.String' > Loaded public abstract interface class 'java.lang.Comparable' > Loaded public abstract interface class 'java.lang.CharSequence' > Loaded public class 'javax.swing.JTextArea' > method main [line 67] > method LoadTable [line 129] > Loaded public class 'java.lang.Throwable' > Loaded public class 'java.lang.Exception' > Loaded public class 'java.io.IOException' > Loaded public class 'java.lang.RuntimeException' > Loaded public class 'java.lang.Error' > method fcgui [line 156] > method DrawTheCard [line 165] > method ShowNextCard [line 309] > method Submit_Check [line 352] > method keyTyped [line 393] > Loaded public class 'java.util.EventObject' > Loaded public abstract class 'java.awt.AWTEvent' > Loaded public class 'java.awt.event.ComponentEvent' > Loaded public abstract class 'java.awt.event.InputEvent' > Loaded public class 'java.awt.event.KeyEvent' > method keyReleased [line 413] > method getNextCardNum [line 447] > method actionPerformed [line 479] > Loaded public class 'java.awt.event.ActionEvent' > method DisplayScore [line 496] > method reset [line 504] > method elapsed [line 509] > method GetRand [line 518] > method WriteAndLeave [line 522] > method GuiClose [line 540] > > === class CloseWindowAdapter === [pass 1] > method windowClosing [line 549] > Loaded public class 'java.awt.event.WindowEvent' > Program fcgui.nrx [pass 2, over 645 clauses] > === class fcgui === > function main(String[]) > Loaded public class 'IsFile' > Loaded public final class 'java.lang.System' > Loaded public class 'netrexx.lang.BadArgumentException' > signals IOException > function LoadTable(Rexx) > Loaded public abstract class 'java.io.Reader' > Loaded public class 'java.io.InputStreamReader' > Loaded public class 'java.io.FileReader' > Loaded public class 'java.io.File' > Loaded public abstract interface class 'netrexx.lang.RexxOperators' > Loaded public final class 'java.io.FileDescriptor' > Loaded public class 'java.io.FileNotFoundException' > Loaded public class 'java.io.BufferedReader' > constructor fcgui(int,boolean,boolean) > method DrawTheCard > Loaded public abstract class 'java.awt.GraphicsConfiguration' > Loaded public class 'java.lang.UnsupportedOperationException' > Loaded public class 'java.awt.HeadlessException' > Loaded public class 'java.awt.GridBagLayout' > Loaded public abstract interface class 'java.awt.LayoutManager' > Loaded public abstract interface class 'java.awt.LayoutManager2' > Loaded public class 'java.awt.Insets' > Loaded public abstract class 'java.awt.Toolkit' > Loaded public abstract class 'java.awt.geom.Dimension2D' > Loaded public class 'java.awt.Dimension' > Loaded public class 'java.awt.Color' > Loaded public class 'java.awt.Font' > Loaded public abstract interface class 'javax.swing.Scrollable' > Loaded public abstract interface class > 'javax.accessibility.Accessible' > Loaded public class 'javax.swing.TransferHandler' > Loaded private abstract interface class > 'javax.swing.TransferHandler.HasGetTransferHandler' > Loaded public abstract interface class > 'java.awt.image.ImageObserver' > > Loaded public abstract interface class 'java.awt.MenuContainer' > Loaded public abstract interface class 'javax.swing.text.Document' > Loaded public abstract interface class 'java.awt.ItemSelectable' > Loaded public abstract interface class 'javax.swing.SwingConstants' > method ShowNextCard(Rexx) > Loaded public class 'javax.swing.SwingUtilities' > Loaded public abstract class 'java.text.Format' > Loaded public abstract class 'java.text.DateFormat' > Loaded public class 'java.text.SimpleDateFormat' > Loaded public class 'java.util.Date' > method Submit_Check(String) > Loaded public class 'javax.swing.JOptionPane' > Loaded public abstract interface class 'javax.swing.WindowConstants' > Loaded public abstract interface class > 'javax.swing.RootPaneContainer' > method keyTyped(KeyEvent) > Loaded public class 'netrexx.lang.NotCharacterException' > overrides KeyAdapter.keyTyped(KeyEvent) > implements KeyListener.keyTyped(KeyEvent) > method keyReleased(KeyEvent) > overrides KeyAdapter.keyReleased(KeyEvent) > implements KeyListener.keyReleased(KeyEvent) > method getNextCardNum(int,boolean) > method actionPerformed(ActionEvent) > implements ActionListener.actionPerformed(ActionEvent) > method DisplayScore(int) > function reset > function elapsed > Loaded public class 'java.lang.IllegalArgumentException' > Loaded public class 'java.lang.NumberFormatException' > function GetRand(int) > Loaded public final class 'java.lang.Math' > function WriteAndLeave(Rexx) > Loaded public abstract class 'java.io.Writer' > Loaded public class 'java.io.OutputStreamWriter' > Loaded public class 'java.io.FileWriter' > Loaded public class 'java.io.PrintWriter' > Loaded public abstract class 'java.io.OutputStream' > Loaded public abstract interface class 'java.lang.Appendable' > Loaded public abstract interface class 'java.io.Closeable' > Loaded public abstract interface class 'java.io.Flushable' > Loaded public abstract interface class 'java.lang.AutoCloseable' > function GuiClose > > === class CloseWindowAdapter === > method windowClosing(WindowEvent) > overrides WindowAdapter.windowClosing(WindowEvent) > Compiling: '-nowarn -classpath > .;C:REXXNetRexxlibNetRexxC.jar;C:Program > FilesJavajdk1.7.0_05libtools.jar;C:Program > FilesJavajre7libalt-rt.jar;C:Program > FilesJavajre7libcharsets.jar;C:Program > FilesJavajre7libdeploy.jar;C:Program > FilesJavajre7libjavaws.jar;C:Program > FilesJavajre7libjce.jar;C:Program > FilesJavajre7libjfr.jar;C:Program FilesJavajre7libjsse.jar;C:Program > FilesJavajre7libmanagement-agent.jar;C:Program > FilesJavajre7libplugin.jar;C:Program > FilesJavajre7libresources.jar;C:Program > FilesJavajre7librt.jar;C:Program > FilesJavajre7libextdnsns.jar;C:Program > FilesJavajre7libextlocaledata.jar;C:Program > FilesJavajre7libextNetRexxC.jar;C:Program > FilesJavajre7libextsunec.jar;C:Program > FilesJavajre7libextsunjce_provider.jar;C:Program > FilesJavajre7libextsunmscapi.jar;C:Program > FilesJavajre7libextsunpkcs11.jar;C:Program > FilesJavajre7libextzipfs.jar C:REXXNetRexxbjcp9fcgui.java' > Exception in thread "main" java.lang.NoClassDefFoundError: > sun/tools/javac/Main > at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:618) > at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239) > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165) > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154) > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152) > at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91) > Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main > at java.net.URLClassLoader$1.run(Unknown Source) > at java.net.URLClassLoader$1.run(Unknown Source) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > at java.lang.ClassLoader.loadClass(Unknown Source) > ... 6 more > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:42.30 > > if errorlevel 2 goto quit > > C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:42.30 > > if no == no goto quit > > Kenneth Klein > > KERMIT KISER <[hidden email]> > Sent by: [hidden email] > > 08/31/2012 11:04 PM > > Please respond to > IBM Netrexx <[hidden email]> > > To IBM Netrexx <[hidden email]> > > cc > > Subject Re: [Ibm-netrexx] error after moving to new machine on > windows > 7 > > Hi Kenneth -- > > Can you show us your nrc.bat and NetRexxC.bat files? Windows Java > does not always do what you might expect - It largely ignores > environment variables/paths and may decide what to run based on > registry values. > > -- Kermit > > On 8/31/2012 4:16 AM, [hidden email] wrote: > > I'm having path or classpath problems again. nrc was working and > then > I moved some files around and now its hosed: > > Exception in thread "main" java.lang.NoClassDefFoundError: > sun/tools/javac/Main > > method getNextCardNum(int,boolean) > > method actionPerformed(ActionEvent) > > implements ActionListener.actionPerformed(ActionEvent) > > method DisplayScore(int) > > function reset > > function elapsed > > Loaded public class 'java.lang.IllegalArgumentException' > > Loaded public class 'java.lang.NumberFormatException' > > function GetRand(int) > > Loaded public final class 'java.lang.Math' > > function WriteAndLeave(Rexx) > > Loaded public abstract class 'java.io.Writer' > > Loaded public class 'java.io.OutputStreamWriter' > > Loaded public class 'java.io.FileWriter' > > Loaded public class 'java.io.PrintWriter' > > Loaded public abstract class 'java.io.OutputStream' > > Loaded public abstract interface class 'java.lang.Appendable' > > Loaded public abstract interface class 'java.io.Closeable' > > Loaded public abstract interface class 'java.io.Flushable' > > Loaded public abstract interface class 'java.lang.AutoCloseable' > > function GuiClose > > === class CloseWindowAdapter === > > method windowClosing(WindowEvent) > > overrides WindowAdapter.windowClosing(WindowEvent) > > Compiling: '-nowarn -classpath .;C:Program > > FilesJavajdk1.7.0_05libtools.jar;H:kekleinREXXNetRexxlibNetRexxC.jar;C:Program > FilesJavajre7libalt-rt.jar;C:Program > FilesJavajre7libcharsets.jar;C:Program > FilesJavajre7libdeploy.jar;C:Program > FilesJavajre7libjavaws.jar;C:Program > FilesJavajre7libjce.jar;C:Program > FilesJavajre7libjfr.jar;C:Program FilesJavajre7libjsse.jar;C:Program > FilesJavajre7libmanagement-agent.jar;C:Program > FilesJavajre7libplugin.jar;C:Program > FilesJavajre7libresources.jar;C:Program > FilesJavajre7librt.jar;C:Program > FilesJavajre7libextdnsns.jar;C:Program > FilesJavajre7libextlocaledata.jar;C:Program > FilesJavajre7libextNetRexxC.jar;C:Program > FilesJavajre7libextsunec.jar;C:Program > FilesJavajre7libextsunjce_provider.jar;C:Program > FilesJavajre7libextsunmscapi.jar;C:Program > FilesJavajre7libextsunpkcs11.jar;C:Program > FilesJavajre7libextzipfs.jar H:kekleinREXXNetRexxbjcp9fcgui.java' > > Exception in thread "main" java.lang.NoClassDefFoundError: > sun/tools/javac/Main > > at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:618) > > at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239) > > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165) > > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154) > > at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152) > > at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91) > > Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main > > at java.net.URLClassLoader$1.run(Unknown Source) > > at java.net.URLClassLoader$1.run(Unknown Source) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > ... 6 mor > > NetRexx Envirotest version 1.4 > Java properties: > java.version: 1.7.0_05 > java.home: C:Program FilesJavajre7 > java.class.path: .;C:Program > FilesJavajre6libextNetRexxC.jar;C:Program > FilesJavajdk1.7.0_05libtools.jar;C:Program > FilesJavajre6libextQTJava.zip;;H:kekleinREXXNetRexxlibNetRexxC.jar > java.library.path: > > C:WINDOWSsystem32;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;.;H:keklein;H:kekleinREXXNetRexxbin;C:Program > Filesvimvim73;C:Program FilesIBMPersonal Communications;C:Program > FilesIBMTrace Facility;C:Program FilesJavajdk1.6.0_18bin;C:Program > > FilesQuickTimeQTSystem;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWSSystem32Wbem;H:kekleinMy > Documentsapache-ant-1.8.2bin;. > java.ext.dirs: C:Program FilesJavajre7libext;C:WINDOWSSunJavalibext > os.name: Windows 7 > os.arch: x86 > os.version: 6.1 > ANT_HOME: H:kekleinMy Documentsapache-ant-1.8.2 > HOME: C:documents and settingskeklein > HOMEPATH: > USERPROFILE: C:UsersKEKLEIN > Beginning scan for Java and NetRexx runtime or compiler programs: > Checking java.home > Checking java.home parent > found:C:Program FilesJavajdk1.7.0_05libtools.jar > Checking java.home grandparent > Checking Java extension directories > found:C:Program FilesJavajre7libextNetRexxC.jar > Checking Java classpath directories > found:C:Program FilesJavajdk1.7.0_05libtools.jar > found:H:kekleinREXXNetRexxlibNetRexxC.jar > Checking System path directories > found:C:WINDOWSsystem32java.exe > found:C:WINDOWSsystem32java.exe > found:H:keklein\NetRexxDE.jar > found:H:kekleinREXXNetRexxbinnrc.bat > found:H:kekleinREXXNetRexxbinnrc.cmd > found:H:kekleinREXXNetRexxbinNetRexxC.sh > found:H:kekleinREXXNetRexxbinNetRexxC.cmd > found:H:kekleinREXXNetRexxbinNetRexxC.bat > found:H:kekleinREXXNetRexxNetRexxC.jar > found:C:WINDOWSsystem32java.exe > Checking Ant directory > Checking home directory > Checking homepath directory > Checking userprofile director > > Kenneth Klein > Systems Specialist > 502-868-3644 > 859-750-5179 (Cell) > 502-868-2298 (Fax) > [hidden email] > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] [1] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ [2] > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > > > > Links: > ------ > [1] mailto:[hidden email] > [2] 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/ _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Hi Kenneth,
that is great news! Glad that it work, and thanks for trying the ecj option. best regards, René. On 4 sep. 2012, at 21:31, [hidden email] wrote:
_______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by kenner
Kenneth --
I saw from your later posts that you managed to make things work with the ecj compiler. For the benefit of others (and our future installer code) I would like to point out a couple of things from this note however. I see from this post that you are not using any classpath operand in the NetRexxC.bat script to override the environment settings which is what I was hoping to find out and why I asked for the info. Your envirotest scan shows that the only Java explicitly in your path is 1.6.0_18. Later posts indicate that you changed this. With "Windows\system32" preceding any Java directory in the path (also later changed?) the java command will run from there and finding that it is in a windows OS directory will check the registry for it's home path which is why envirotest shows that you are running Java 1.7.0_05 from C:\Program Files\Java\jre7 even though it was not in your path. In this scenario, Java ignores the JAVA_HOME and CLASSPATH variables. However it does check it's ext directory (C:\Program Files\Java\jre7\lib\ext) which is why it finds NetRexxC.jar as the envirotest shows that you copied it there. It does not find tools.jar since you did not copy that file there. If you place your JDK bin directory before the Windows\system32 directory in your path or execute Java directly from there, your CLASSPATH variable will work as expected. I don't know why Oracle keeps this a secret but I actually had to test this to verify what is happening here - I was able to duplicate your error while testing it. One more thing - the rules for the classpath operand and the CLASSPATH variable are slightly different. If you use quotes in the CLASSPATH variable because of spaces in a name, the quotes MUST surround the entire CLASSPATH value. Hope this helps someone! -- Kermit On 9/4/2012 2:48 AM,
[hidden email] wrote:
_______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by rvjansen
Rene, and all,
You *have to manually *COPY* (*or MOVE*) the tools.jar file to the ...lib/ext subdirectory, after unpacking the JDK, only, and then ... ... suddenly you won't need *any classpath* settings anymore! Massa Thomas ;-) PS: At least, this is a technique I did find by trying around a couple of years ago ... ;-) ================================================================================ Am 04.09.2012 16:22, schrieb rvjansen: > Hi Kenneth, > > the problem clearly is that NetRexx cannot locate the tools.jar file, > which contains the Java compiler class that is needed. There are > several solutions: > > 1) making sure that your classpath is OK > 2) copying the tools.jar file to the extensions directory (if you did > that last time and reinstalled java, this is the reason it fails now) > 3) use the ecj compiler that is part of the NetRexx 3.01 release > > I would start with 1): verify that tools.jar is in your classpath. To > do this, verify that tools.jar is where you tell the classpath it is; > then move that section of the path to the front, to make sure there > are no empty or nonexisting sections in between. > > I am not sure why there are no slashes in your pathnames in the > envirotest program output; this makes the diagnose not easier. I would > have to try the program myself to see if this is an artifact of it. > The Quick Start Guide has a good troubleshooting section; please have > a look at that, and for option (3), check out the chapter that > discusses the use of ecj. > > Please let us know quickly when this all fails, because we will solve > it. We can do a webex with remote control if all else fails. > > best regards, > > René. > > > > On 2012-09-04 14:48, [hidden email] wrote: >> I have nothing in: >> >> %netrexx_java% >> >> @rem Alias for NetRexxC.bat >> @echo off >> call netrexxc.bat %1 %2 %3 %4 %5 %6 %7 %8 %9 >> >> @REM : Batch file to translate and compile a NetRexx program, and >> @REM : optionally run the resulting class file >> @REM >> :----------------------------------------------------------------- >> @REM : use as: NetRexxC hello >> @REM : >> @REM : which will use the NetRexx translator to translate the >> @REM : source file hello.nrx to hello.java >> @REM : then will use javac to compile hello.java >> @REM : >> @REM : Up to eight OPTIONS keywords may be added (with a -) before or >> @REM : after the file specification, along with the extra flags known >> @REM : to NetRexxC (such as -keep). For example: >> @REM : >> @REM : NetRexxC -keep -format -comments hello >> @REM : >> @REM : Invoke with no parameters for a full list of flags. >> @REM : >> @REM : To run the class after compilation, specify -run as the >> @REM : first word of the command arguments and the name of the >> @REM : class as the second word. Note that the case of the >> @REM : letters must be exactly correct for this to work, and do not >> @REM : specify the .nrx extension. For example: >> @REM : >> @REM : NetRexxC -run hello >> @REM : >> @REM : For a more flexible script for this, see NetRexxC.cmd >> @REM >> :----------------------------------------------------------------- >> @REM : 1996.12.28 -- initial version derived from NetRexxC.cmd >> @REM : 1998.05.25 -- use NETREXX_JAVA as options to java.exe >> @REM : 2011.09.01 -- use org.netrexx.process >> @REM : 2011.09.01 -- remove -xms4M >> @REM : 2011.09.29 -- add error msg for -run with x.nrx name format >> >> @echo off >> set netrexxc.bat_run=no >> if not '%1'=='-run' goto compile >> set netrexxc.bat_run=yes >> shift >> :compile >> java %netrexx_java% org.netrexx.process.NetRexxC %1 %2 %3 %4 %5 %6 %7 >> %8 %9 >> if errorlevel 2 goto quit >> if %netrexxc.bat_run%==no goto quit >> echo Running %1... >> IF EXIST %1.class (java %1) ELSE echo -run error: class file not found >> - do not add .nrx to name >> :quit:quit >> >> C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 >> > set netrexxc.bat_run=no >> >> C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 >> > if not 'fcgui.nrx' == '-run' goto compile >> >> C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:41.49 >> > java org.netrexx.process.NetRexxC fcgui.nrx >> NetRexx portable processor, version NetRexx 3.01RC2, build >> 1-20110925-2337 >> Copyright (c) RexxLA, 2011. All rights reserved. >> Parts Copyright (c) IBM Corporation, 1995,2008. >> 1931 classes imported from 'javax.swing.' >> 72 classes imported from 'java.text.' >> 440 classes imported from 'javax.swing.text.' >> 3 classes imported from 'netrexx.lang.Rexx' >> Loaded public class 'java.lang.Object' >> Loaded public abstract class 'java.awt.event.KeyAdapter' >> Loaded public abstract interface class 'java.awt.event.KeyListener' >> Loaded public abstract interface class 'java.util.EventListener' >> Loaded public abstract interface class >> 'java.awt.event.ActionListener' >> Loaded public class 'java.awt.GridBagConstraints' >> Loaded public abstract class 'java.awt.event.WindowAdapter' >> Loaded public abstract interface class >> 'java.awt.event.WindowListener' >> Loaded public abstract interface class >> 'java.awt.event.WindowStateListener' >> Loaded public abstract interface class >> 'java.awt.event.WindowFocusListener' >> Translating 'fcgui.nrx' [Pass 1] >> === class fcgui === [pass 1] >> Loaded public abstract interface class 'java.lang.Cloneable' >> Loaded public abstract interface class 'java.io.Serializable' >> Loaded public class 'netrexx.lang.Rexx' >> Loaded public abstract class 'java.awt.Component' >> Loaded public class 'java.awt.Container' >> Loaded public class 'java.awt.Window' >> Loaded public class 'java.awt.Frame' >> Loaded public class 'javax.swing.JFrame' >> Loaded public abstract class 'javax.swing.JComponent' >> Loaded public abstract class 'javax.swing.text.JTextComponent' >> Loaded public class 'javax.swing.JTextField' >> Loaded public abstract class 'javax.swing.AbstractButton' >> Loaded public class 'javax.swing.JButton' >> Loaded public abstract interface class 'javax.swing.Icon' >> Loaded public final class 'java.lang.String' >> Loaded public abstract interface class 'java.lang.Comparable' >> Loaded public abstract interface class 'java.lang.CharSequence' >> Loaded public class 'javax.swing.JTextArea' >> method main [line 67] >> method LoadTable [line 129] >> Loaded public class 'java.lang.Throwable' >> Loaded public class 'java.lang.Exception' >> Loaded public class 'java.io.IOException' >> Loaded public class 'java.lang.RuntimeException' >> Loaded public class 'java.lang.Error' >> method fcgui [line 156] >> method DrawTheCard [line 165] >> method ShowNextCard [line 309] >> method Submit_Check [line 352] >> method keyTyped [line 393] >> Loaded public class 'java.util.EventObject' >> Loaded public abstract class 'java.awt.AWTEvent' >> Loaded public class 'java.awt.event.ComponentEvent' >> Loaded public abstract class 'java.awt.event.InputEvent' >> Loaded public class 'java.awt.event.KeyEvent' >> method keyReleased [line 413] >> method getNextCardNum [line 447] >> method actionPerformed [line 479] >> Loaded public class 'java.awt.event.ActionEvent' >> method DisplayScore [line 496] >> method reset [line 504] >> method elapsed [line 509] >> method GetRand [line 518] >> method WriteAndLeave [line 522] >> method GuiClose [line 540] >> >> === class CloseWindowAdapter === [pass 1] >> method windowClosing [line 549] >> Loaded public class 'java.awt.event.WindowEvent' >> Program fcgui.nrx [pass 2, over 645 clauses] >> === class fcgui === >> function main(String[]) >> Loaded public class 'IsFile' >> Loaded public final class 'java.lang.System' >> Loaded public class 'netrexx.lang.BadArgumentException' >> signals IOException >> function LoadTable(Rexx) >> Loaded public abstract class 'java.io.Reader' >> Loaded public class 'java.io.InputStreamReader' >> Loaded public class 'java.io.FileReader' >> Loaded public class 'java.io.File' >> Loaded public abstract interface class 'netrexx.lang.RexxOperators' >> Loaded public final class 'java.io.FileDescriptor' >> Loaded public class 'java.io.FileNotFoundException' >> Loaded public class 'java.io.BufferedReader' >> constructor fcgui(int,boolean,boolean) >> method DrawTheCard >> Loaded public abstract class 'java.awt.GraphicsConfiguration' >> Loaded public class 'java.lang.UnsupportedOperationException' >> Loaded public class 'java.awt.HeadlessException' >> Loaded public class 'java.awt.GridBagLayout' >> Loaded public abstract interface class 'java.awt.LayoutManager' >> Loaded public abstract interface class 'java.awt.LayoutManager2' >> Loaded public class 'java.awt.Insets' >> Loaded public abstract class 'java.awt.Toolkit' >> Loaded public abstract class 'java.awt.geom.Dimension2D' >> Loaded public class 'java.awt.Dimension' >> Loaded public class 'java.awt.Color' >> Loaded public class 'java.awt.Font' >> Loaded public abstract interface class 'javax.swing.Scrollable' >> Loaded public abstract interface class >> 'javax.accessibility.Accessible' >> Loaded public class 'javax.swing.TransferHandler' >> Loaded private abstract interface class >> 'javax.swing.TransferHandler.HasGetTransferHandler' >> Loaded public abstract interface class 'java.awt.image.ImageObserver' >> >> Loaded public abstract interface class 'java.awt.MenuContainer' >> Loaded public abstract interface class 'javax.swing.text.Document' >> Loaded public abstract interface class 'java.awt.ItemSelectable' >> Loaded public abstract interface class 'javax.swing.SwingConstants' >> method ShowNextCard(Rexx) >> Loaded public class 'javax.swing.SwingUtilities' >> Loaded public abstract class 'java.text.Format' >> Loaded public abstract class 'java.text.DateFormat' >> Loaded public class 'java.text.SimpleDateFormat' >> Loaded public class 'java.util.Date' >> method Submit_Check(String) >> Loaded public class 'javax.swing.JOptionPane' >> Loaded public abstract interface class 'javax.swing.WindowConstants' >> Loaded public abstract interface class >> 'javax.swing.RootPaneContainer' >> method keyTyped(KeyEvent) >> Loaded public class 'netrexx.lang.NotCharacterException' >> overrides KeyAdapter.keyTyped(KeyEvent) >> implements KeyListener.keyTyped(KeyEvent) >> method keyReleased(KeyEvent) >> overrides KeyAdapter.keyReleased(KeyEvent) >> implements KeyListener.keyReleased(KeyEvent) >> method getNextCardNum(int,boolean) >> method actionPerformed(ActionEvent) >> implements ActionListener.actionPerformed(ActionEvent) >> method DisplayScore(int) >> function reset >> function elapsed >> Loaded public class 'java.lang.IllegalArgumentException' >> Loaded public class 'java.lang.NumberFormatException' >> function GetRand(int) >> Loaded public final class 'java.lang.Math' >> function WriteAndLeave(Rexx) >> Loaded public abstract class 'java.io.Writer' >> Loaded public class 'java.io.OutputStreamWriter' >> Loaded public class 'java.io.FileWriter' >> Loaded public class 'java.io.PrintWriter' >> Loaded public abstract class 'java.io.OutputStream' >> Loaded public abstract interface class 'java.lang.Appendable' >> Loaded public abstract interface class 'java.io.Closeable' >> Loaded public abstract interface class 'java.io.Flushable' >> Loaded public abstract interface class 'java.lang.AutoCloseable' >> function GuiClose >> >> === class CloseWindowAdapter === >> method windowClosing(WindowEvent) >> overrides WindowAdapter.windowClosing(WindowEvent) >> Compiling: '-nowarn -classpath >> .;C:REXXNetRexxlibNetRexxC.jar;C:Program >> FilesJavajdk1.7.0_05libtools.jar;C:Program >> FilesJavajre7libalt-rt.jar;C:Program >> FilesJavajre7libcharsets.jar;C:Program >> FilesJavajre7libdeploy.jar;C:Program >> FilesJavajre7libjavaws.jar;C:Program FilesJavajre7libjce.jar;C:Program >> FilesJavajre7libjfr.jar;C:Program FilesJavajre7libjsse.jar;C:Program >> FilesJavajre7libmanagement-agent.jar;C:Program >> FilesJavajre7libplugin.jar;C:Program >> FilesJavajre7libresources.jar;C:Program >> FilesJavajre7librt.jar;C:Program >> FilesJavajre7libextdnsns.jar;C:Program >> FilesJavajre7libextlocaledata.jar;C:Program >> FilesJavajre7libextNetRexxC.jar;C:Program >> FilesJavajre7libextsunec.jar;C:Program >> FilesJavajre7libextsunjce_provider.jar;C:Program >> FilesJavajre7libextsunmscapi.jar;C:Program >> FilesJavajre7libextsunpkcs11.jar;C:Program >> FilesJavajre7libextzipfs.jar C:REXXNetRexxbjcp9fcgui.java' >> Exception in thread "main" java.lang.NoClassDefFoundError: >> sun/tools/javac/Main >> at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:618) >> at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239) >> at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165) >> at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154) >> at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152) >> at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91) >> Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main >> at java.net.URLClassLoader$1.run(Unknown Source) >> at java.net.URLClassLoader$1.run(Unknown Source) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(Unknown Source) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> at java.lang.ClassLoader.loadClass(Unknown Source) >> ... 6 more >> >> C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:42.30 >> > if errorlevel 2 goto quit >> >> C:REXXNetRexxbjcp9 Tue 09/04/2012 8:41:42.30 >> > if no == no goto quit >> >> Kenneth Klein >> >> KERMIT KISER <[hidden email]> >> Sent by: [hidden email] >> >> 08/31/2012 11:04 PM >> >> Please respond to >> IBM Netrexx <[hidden email]> >> >> To IBM Netrexx <[hidden email]> >> >> cc >> >> Subject Re: [Ibm-netrexx] error after moving to new machine on windows >> 7 >> >> Hi Kenneth -- >> >> Can you show us your nrc.bat and NetRexxC.bat files? Windows Java >> does not always do what you might expect - It largely ignores >> environment variables/paths and may decide what to run based on >> registry values. >> >> -- Kermit >> >> On 8/31/2012 4:16 AM, [hidden email] wrote: >> >> I'm having path or classpath problems again. nrc was working and then >> I moved some files around and now its hosed: >> >> Exception in thread "main" java.lang.NoClassDefFoundError: >> sun/tools/javac/Main >> >> method getNextCardNum(int,boolean) >> >> method actionPerformed(ActionEvent) >> >> implements ActionListener.actionPerformed(ActionEvent) >> >> method DisplayScore(int) >> >> function reset >> >> function elapsed >> >> Loaded public class 'java.lang.IllegalArgumentException' >> >> Loaded public class 'java.lang.NumberFormatException' >> >> function GetRand(int) >> >> Loaded public final class 'java.lang.Math' >> >> function WriteAndLeave(Rexx) >> >> Loaded public abstract class 'java.io.Writer' >> >> Loaded public class 'java.io.OutputStreamWriter' >> >> Loaded public class 'java.io.FileWriter' >> >> Loaded public class 'java.io.PrintWriter' >> >> Loaded public abstract class 'java.io.OutputStream' >> >> Loaded public abstract interface class 'java.lang.Appendable' >> >> Loaded public abstract interface class 'java.io.Closeable' >> >> Loaded public abstract interface class 'java.io.Flushable' >> >> Loaded public abstract interface class 'java.lang.AutoCloseable' >> >> function GuiClose >> >> === class CloseWindowAdapter === >> >> method windowClosing(WindowEvent) >> >> overrides WindowAdapter.windowClosing(WindowEvent) >> >> Compiling: '-nowarn -classpath .;C:Program >> >> FilesJavajdk1.7.0_05libtools.jar;H:kekleinREXXNetRexxlibNetRexxC.jar;C:Program >> >> FilesJavajre7libalt-rt.jar;C:Program >> FilesJavajre7libcharsets.jar;C:Program >> FilesJavajre7libdeploy.jar;C:Program >> FilesJavajre7libjavaws.jar;C:Program FilesJavajre7libjce.jar;C:Program >> FilesJavajre7libjfr.jar;C:Program FilesJavajre7libjsse.jar;C:Program >> FilesJavajre7libmanagement-agent.jar;C:Program >> FilesJavajre7libplugin.jar;C:Program >> FilesJavajre7libresources.jar;C:Program >> FilesJavajre7librt.jar;C:Program >> FilesJavajre7libextdnsns.jar;C:Program >> FilesJavajre7libextlocaledata.jar;C:Program >> FilesJavajre7libextNetRexxC.jar;C:Program >> FilesJavajre7libextsunec.jar;C:Program >> FilesJavajre7libextsunjce_provider.jar;C:Program >> FilesJavajre7libextsunmscapi.jar;C:Program >> FilesJavajre7libextsunpkcs11.jar;C:Program >> FilesJavajre7libextzipfs.jar H:kekleinREXXNetRexxbjcp9fcgui.java' >> >> Exception in thread "main" java.lang.NoClassDefFoundError: >> sun/tools/javac/Main >> >> at org.netrexx.process.RxTranslator.compile(RxTranslator.nrx:618) >> >> at org.netrexx.process.NetRexxC.process(NetRexxC.nrx:239) >> >> at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:165) >> >> at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:154) >> >> at org.netrexx.process.NetRexxC.main2(NetRexxC.nrx:152) >> >> at org.netrexx.process.NetRexxC.main(NetRexxC.nrx:91) >> >> Caused by: java.lang.ClassNotFoundException: sun.tools.javac.Main >> >> at java.net.URLClassLoader$1.run(Unknown Source) >> >> at java.net.URLClassLoader$1.run(Unknown Source) >> >> at java.security.AccessController.doPrivileged(Native Method) >> >> at java.net.URLClassLoader.findClass(Unknown Source) >> >> at java.lang.ClassLoader.loadClass(Unknown Source) >> >> at java.lang.ClassLoader.loadClass(Unknown Source) >> >> ... 6 mor >> >> NetRexx Envirotest version 1.4 >> Java properties: >> java.version: 1.7.0_05 >> java.home: C:Program FilesJavajre7 >> java.class.path: .;C:Program >> FilesJavajre6libextNetRexxC.jar;C:Program >> FilesJavajdk1.7.0_05libtools.jar;C:Program >> FilesJavajre6libextQTJava.zip;;H:kekleinREXXNetRexxlibNetRexxC.jar >> java.library.path: >> >> C:WINDOWSsystem32;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;.;H:keklein;H:kekleinREXXNetRexxbin;C:Program >> >> Filesvimvim73;C:Program FilesIBMPersonal Communications;C:Program >> FilesIBMTrace Facility;C:Program FilesJavajdk1.6.0_18bin;C:Program >> >> FilesQuickTimeQTSystem;C:WINDOWS;C:WINDOWSsystem32;C:WINDOWSSystem32Wbem;H:kekleinMy >> >> Documentsapache-ant-1.8.2bin;. >> java.ext.dirs: C:Program FilesJavajre7libext;C:WINDOWSSunJavalibext >> os.name: Windows 7 >> os.arch: x86 >> os.version: 6.1 >> ANT_HOME: H:kekleinMy Documentsapache-ant-1.8.2 >> HOME: C:documents and settingskeklein >> HOMEPATH: >> USERPROFILE: C:UsersKEKLEIN >> Beginning scan for Java and NetRexx runtime or compiler programs: >> Checking java.home >> Checking java.home parent >> found:C:Program FilesJavajdk1.7.0_05libtools.jar >> Checking java.home grandparent >> Checking Java extension directories >> found:C:Program FilesJavajre7libextNetRexxC.jar >> Checking Java classpath directories >> found:C:Program FilesJavajdk1.7.0_05libtools.jar >> found:H:kekleinREXXNetRexxlibNetRexxC.jar >> Checking System path directories >> found:C:WINDOWSsystem32java.exe >> found:C:WINDOWSsystem32java.exe >> found:H:keklein\NetRexxDE.jar >> found:H:kekleinREXXNetRexxbinnrc.bat >> found:H:kekleinREXXNetRexxbinnrc.cmd >> found:H:kekleinREXXNetRexxbinNetRexxC.sh >> found:H:kekleinREXXNetRexxbinNetRexxC.cmd >> found:H:kekleinREXXNetRexxbinNetRexxC.bat >> found:H:kekleinREXXNetRexxNetRexxC.jar >> found:C:WINDOWSsystem32java.exe >> Checking Ant directory >> Checking home directory >> Checking homepath directory >> Checking userprofile director >> >> Kenneth Klein >> Systems Specialist >> 502-868-3644 >> 859-750-5179 (Cell) >> 502-868-2298 (Fax) >> [hidden email] >> >> _______________________________________________ >> Ibm-netrexx mailing list >> [hidden email] [1] >> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ [2] >> >> _______________________________________________ >> Ibm-netrexx mailing list >> [hidden email] >> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ >> >> >> >> Links: >> ------ >> [1] mailto:[hidden email] >> [2] http://ibm-netrexx.215625.n3.nabble.com/ > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > -- Thomas Schneider CEO ThSITC IT Consulting KG Erdbergstr. 52-60/1/13 1030 Wien Austria, Europe Skype ID: Thomas.Schneider.Wien Member of the Rexx Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team (www.netrexx.org) _______________________________________________ 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 |
Free forum by Nabble | Edit this page |