The instructions say go into Options, Document Types and select Java Document Type. I did that.
The instructions then tell you to select the Tools section and define the following tool. They specifically tell you what to type in for the Text, Command Line, Arguments, and Work Directory text boxes.
This is where it's going wrong...
When I look I see Menu Text, Program Name, Arguments, and Work Directory.
Am I in the correct spot?
Is there a difference between Text and Menu Text?
I typed the stuff that the instructions said to type in those text boxes but it's not working.
Unless I typed -cp -$fb instead of...
That is what I typed in the Arguments box.
Otherwise it won't work.
That's sounds like a Zeus bugOtherwise it won't work.
I'll look to have that fixed in the next version.
I have been trying to figure out what I did this second time around that is making Zeus not create the class file (I can clearly see when I look in my folder which is on my external drive, that even though the source code file is there, there is no class file. That is what I think the problem is. The class file is simply not being created in my folder.
The only thing I can recall that I did differently this second time around is that when I first saved the Application.java file I did not let Zeus put it in the default directory, which I think is some kind of temp folder.
I changed that right away and told Zeus to save the Application.java file in my Java Programming Projects folder which resides on my external solid state drive.
Is that what I did wrong?
Seems to me I should be able to save my source files where ever I want. I don't save anything on my internal C drive. I always save my stuff to my external solid state drive.
What should I do?
But it will not run inside Zeus. I must have set something wrong somewhere.
It sounds like something in the two environments is differentBut it will not run inside Zeus. I must have set something wrong somewhere.
I don't think this is the issue.Seems to me I should be able to save my source files where ever I want.
When you say you are running this inside Zeus are you defining a tool to do this running
If that is the case make sure you have specified the directory correctly.
The tool will be run in the directory that you specify and if that is not specified correctly I can imagine you could get these types of errors.
On this point, Zeus has many $Tag values that can be used to help define these settings.
For example $fdd will translate into the file drive and directory of the currently active files.
If you run the ztags.lua it will give you examples of these tags.
When I run into these types of configuration issues this is what I do.What should I do?
1. Options, Editor Options menu and in the General section turn on the Debug tools, macros and executables option.
2. Run the command that is not working.
3. Use the Macros, Macro Debug/Output menu and there you will see details of the command being run.
4. Then use the Tools, DOS Shell menu and in that shell run those same commands from the debug window.
If that does not fix the issue just post that debug output to this thread.
Also post the actual output and error details reported by that DOS Shell.
That link also gives an example of using a Zeus $tag value to define the tool parameters.
The value to enter is as follows:Unless I typed -cp -$fb instead of... -cp _$fb
Code: Select all
The -cp is just shorthand for -classpath command line option.
The $fb tag value is replaced by the file base name of the currently active file.
For more details consider the example from this page: http://docs.oracle.com/javase/7/docs/te ... spath.html
It describes this example:
For example, suppose you want the Java runtime to find a class named Cool.class in the package utility.myapp. If the path to that directory is C:\java\MyClasses\utility\myapp, you would set the class path so that it contains C:\java\MyClasses.
To run that app, you could use the following JVM command:
Code: Select all
C:> java -classpath C:\java\MyClasses utility.myapp.Cool
I will keep Zeus for perhaps C++ or C# Programming.
Keep up the good work.