Pat Genpatso

Greenhorn
+ Follow
since Mar 12, 2018
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pat Genpatso

same error even when i change from : to ;
1 year ago
I have set the class path for the libraries and classes. Iam also running the command from the top level directory but i get the same error;

C:\Jess71p2\examples\pricing_engine>java -cp .:..\..\lib\jess.jar gov.sandia.jess.example.pricing.demo.Demo

Error: Could not find or load main class gov.sandia.jess.example.pricing.demo.Demo
1 year ago
Same error;

C:\Jess71p2\Jess71p2\examples\pricing_engine\gov\sandia\jess\example\pricing\demo>java Demo
Error: Could not find or load main class Demo
1 year ago
Hello,

I have been able to compile the classes but when i try to run the demo.java, i get the following error;

C:\Work\Patrick_Project\Software\Jess71p2\Jess71p2\examples\pricing_engine\gov\sandia\jess\example\pricing\demo>java Demo.java
Error: Could not find or load main class Demo.java
1 year ago
hello,

I managed to compile successfully some of the classes via command line such as CatalogItem.java, Customer.java and Offer.java.

When i try to compile the rest of the classes, i get the errors below. help me resolve them

examples\pricing_engine\gov\sandia\jess\example\pricing\model>javac Order.java
Order.java:11: error: cannot find symbol
   private Customer customer;
           ^
 symbol:   class Customer
 location: class Order
Order.java:13: error: cannot find symbol
   public Order(Collection theItems, Customer aCustomer) {
                                     ^
 symbol:   class Customer
 location: class Order
Order.java:30: error: cannot find symbol
   public Customer getCustomer() {
          ^
 symbol:   class Customer
 location: class Order
Order.java:16: error: cannot find symbol
           OrderItem item = (OrderItem) it.next();
           ^
 symbol:   class OrderItem
 location: class Order
Order.java:16: error: cannot find symbol
           OrderItem item = (OrderItem) it.next();
                             ^
 symbol:   class OrderItem
 location: class Order
Note: Order.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
5 errors


Thanks for the help so far.
1 year ago
Sorry about that. The example is refered too on page 85 within the manual http://www.jessrules.com/jess/docs/Jess71p2.pdf.

i have installed eclipse and have downloaded the files within the example folder. I do not know how to proceed in order to run the demo
1 year ago
Hello,

I am new with regards to jess. iam trying to run an example that is provide within the jess manual but i am failing. Can anyone help me with the steps on how to run the pricing engine example that is attached.

it is referred to within the jess manual but i am failing to run it.
1 year ago