|
|
Project Builder questions
|
|
|
|
Forum Regular
Join Date: Nov 2002
Location: Winnipeg
Status:
Offline
|
|
Is it possible to build and run a simple java file in PB, without it being included in a project?
Also, i've been trying out JEdit with the JCompiler plugin, and i can compile my programs without any problems, but i can't seem to get them to run. Any suggestions?
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
Originally posted by allap:
Is it possible to build and run a simple java file in PB, without it being included in a project?
No. To my knowledge, PB can only build targets, and you can't have a target outside of a project.
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status:
Offline
|
|
Originally posted by allap:
Is it possible to build and run a simple java file in PB, without it being included in a project?
Also, i've been trying out JEdit with the JCompiler plugin, and i can compile my programs without any problems, but i can't seem to get them to run. Any suggestions?
Terminal?
To compile:
javac myfile.java
To run:
java myfile
Ta-da!
|
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Nov 2002
Location: Winnipeg
Status:
Offline
|
|
compiling from the terminal seems to work, but when i run it, i get this message:
java MaLib.class
Exception in thread "main" java.lang.NoClassDefFoundError: MaLib/class
[EDIT] Oops, wasn't supposed to put the .class
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|