- I have a seperate user tool setup to allow packages to run (no need
to worry about compiling, just use the -d option to point to your
classpath if your using Java 2).
I simply select the package class name in the source file (ie.
com.mypack.utils without the semi-colon!!!!) and run the "Run in
Package" user tool after a successful compile.
Something like this as an argument should get you going:
I'll eventually get around to using a regex to parse it out, maybe as
a special comment. I'll post it if I ever get around to it.
--- In firstname.lastname@example.org, "Edgar" <edgartooley@y...> wrote:
> This works fine until I add a package to the file. Is there a way
> configure EP+ run a java app with a package declaration?
> --- In email@example.com, "faqster2002 <stanfieldsc@n...>"
> <stanfieldsc@n...> wrote:
> > Marie,
> > If you are still having the trouble, I suggest the following:
> > 1. Go to the editplus home page and click on support and then
> > on FAQ. In the FAQ, instructions are provided for setting up Java
> > compilation and execution. Even if the settings don't make sense
> > you, you're better off following them to the proverbial "T." I
> > this from experience.
> > 2. You need to check your path and classpath environment
> > a. the path must include the path to the Java Development Kit
> > binaries. For me this is C:\J2SDK.1.4.01\bin. This tells the
> > including edit plus where to find the java compiler, javac.exe,
> > the runtime, java.exe.
> > b. you need a classpath that includes as a minimum the
> > ".;" (without the quotes). I have Windows 98 and my
> > entry is in the AUTOEXEC.BAT file and looks like this: SET
> > .;c:\.;a:\.. This tells the java runtime to look for your class
> > files in the current directory, that is the same directory that
> > source file (.java) reside in. Until I did this I was forced to
> > change the classpath everytime I created a new source file
> > Life such as it is in this regard became much easier when I
> > recognized the significance of this little detail nit. I
> > that only Release 1.3 and latter JDKs make use of this feature.
> > you have an older version then I suppose you are stuck with
> > your source file directory in the classpath statement. Or
> > newer version.
> > BTW If you are running class files that require user keyboard
> > input,i.e. System.in.read(), you should not check "Capture
> > the runtime tool. If you don't do this there is no way to
> > your prompts.
> > Hope this helps. If you still have problems I probably can
> > couple of screen shoots that illustrate what I've been talking
> > Steve Stanfield (faster2002)
> > --- In firstname.lastname@example.org, "Marie <marie_love_@y...>"
> > <marie_love_@y...> wrote:
> > > I have been using ep for a while, now all of a sudden I am
> > > errors that I cant explain.
> > > ---------- Java ----------
> > > java.lang.NoClassDefFoundError: Day/java
> > > Exception in thread "main" Normal Termination
> > > Output completed (0 sec consumed).
> > >
> > > I can take a program that ran fine at school, bring it home and
> > > this error, so it has to be something in my settings, but I
> > > know what or where to look. If anyone can help, I would
> > > it. I am being to fall behind in my homework.
> > > Thanks. ~Marie