ProgramD simple-console problems

View: New views
1 Messages — Rating Filter:   Alert me  

ProgramD simple-console problems

by E. Curtis Designs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Just a quick thank you and some help for they who may need it:
 
Roland Krystian Alberciak and Noel Bush, Thank You!  The problem I was having getting the simple-console to load was my JAVA_HOME environment variable.  I did set it (this was new to me) and all works fine now. 
 
For other "newbies" who may be having problems, here is what is needed. 
 
(Note, this is for "ProgramD" and my operating system is Windows XP, so it may not work on other versions/systems)
 
When I opened up the "simple-console.bat" file, here is the error I got.
 
JAVA_HOME is not set in your enviornment.I cannot find a java executable in your path.Please check that you have a JDK 5.0 compatible SDK installed.'-classpath' is not recongized as an internal or external command, operable program or batch file.
 
First, in case you are not understanding how to access the console, what you need to do is navigate to ms-dos from "programs", to "accessories", to "command prompt", or use the "run" command from the "start" menu, and type in "cmd".  

I then used basic ms-dos commands to find my program since it opened up as c:\Documents and Settings\Edmund>.  In my case I entered: cd c:\ and this brought me back to the c: prompt.  My ProgramD file was placed in the C: directory.  Note that dir/w will give you all files in the directory.  So I then entered cd ProgramD "enter"...and so on. 
 
My path was:
C:\ProgramD\bin\simple-console.bat
Note: The advantage of using the console is that you can actually read the error message, whereas just clicking on this "simple-console.bat" file in your ProgramD file directory closes so fast when there is an error that it is impossible to read. 
 
Ok, so on to the "variables". 
 
From "control panel" click "system" and then the "advanced", and then "environmental variables".  Make certain to ascertain that you do have the appropriate java loaded on your system (see documentation); and you will need to be sure that the path to it is correct.  What you need to check is "path" and "classpath". 
 
For example, my system now reads as follows:
 
"classpath"
C:\Program Files\Java\jdk1.5.0_09\bin
 
"path"
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Adobe\AGL;C:\Program Files\Common Files\Ulead Systems\Mpeg;C:\Program Files\Java\jdk1.5.0_09\bin
 
In both cases the java file is on the end of the string.  Be careful not to adjust your "path" beyond updating your java settings, or adding the settings if they are absent. 
 
The "java_home" variable was missing from my system, so I had to add it.  What you do is add it from "variables", click "new" and then add the name JAVA_HOME and the path to it, in my case again it was C:\Program Files\Java\jdk1.5.0_09
 
After this all worked fine,...hope this helps.
Edmund


_______________________________________________
programd mailing list
programd@...
http://aitools.org/mailman/listinfo/programd
LightInTheBox - Buy quality products at wholesale price