![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pipes : error on compiling! | i.pas | High Level Programming | 2 | 03-22-2006 05:13 AM |
| Compiling Error | chandra80 | High Level Programming | 1 | 10-30-2005 02:01 PM |
| question about JAVA compiling .. | ANAMIKA56 | SUN Solaris | 7 | 08-11-2005 11:03 AM |
| error when compiling....(typeset) | esham | Shell Programming and Scripting | 4 | 04-10-2005 08:18 PM |
| Error Compiling C program | Vivek | High Level Programming | 3 | 10-25-2001 11:13 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I need Help folks;
I'm very new to Java & i was trying to compile some java files & i got a lot of errors (see below), could some one tell me what am i doing wrong? These are the files i need to compile: AddCommentActionLogging.java EditPageActionLogging.java When i run: /opt/jdk1.5.0_08/bin/javac *.java I get these errors: AddCommentActionLogging.java:3: package com.atlassian.confluence.pages.actions does not exist import com.atlassian.confluence.pages.actions.AddCommentAction; ^ AddCommentActionLogging.java:5: package org.apache.log4j does not exist import org.apache.log4j.Category; ^ AddCommentActionLogging.java:7: cannot find symbol symbol: class AddCommentAction public class AddCommentActionLogging extends AddCommentAction ^ AddCommentActionLogging.java:9: cannot find symbol symbol : class Category location: class com.ptc.ssp.se.tools.confluence.AddCommentActionLogging private static Category log = Category.getInstance( ^ EditPageActionLogging.java:3: package com.atlassian.confluence.pages.actions does not exist import com.atlassian.confluence.pages.actions.EditPageAction; ^ EditPageActionLogging.java:5: package org.apache.log4j does not exist import org.apache.log4j.Category; ^ EditPageActionLogging.java:7: cannot find symbol symbol: class EditPageAction public class EditPageActionLogging extends EditPageAction ^ EditPageActionLogging.java:9: cannot find symbol symbol : class Category location: class com.ptc.ssp.se.tools.confluence.EditPageActionLogging private static Category log = Category.getInstance( |
|
||||
|
This looks like a major problem. I suggest you set up your CLASSPATH to include all the various places that contain the Java code you are going to reference.
|
|
||||
|
Using a tool such as Apache Ant will make it easier for compiling projects with complicated class paths by putting the build instructions in a build file (similar to Makefile).
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|