Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to compile a single file in a project

843810Mar 3 2010 — edited Mar 7 2010
I have placed my java connector file called "xxxTargetconnector .class" in the below mentioned path

D:\FSCM9DMO\webserv\FSCMDMO9\applications\peoplesoft\PSIGW\WEB-INF\classes\com\peoplesoft\pt\integrationgateway\targetconnector

I have converted the above class file in to a java file using a decompiler.Now i would like to recompile the java file to get the byte code.This class file imports many class files from jar files which is placed in the below mentioned path.

D:\FSCM9DMO\webserv\Cybersource.

Before compiling i set the path to include the jar files

for ex , set path = D:\FSCM9DMO\webserv\Cybersource

For compilation i went to the below path using command prompt and compiled the particular file.

D:\FSCM9DMO\webserv\FSCMDMO9\applications\peoplesoft\PSIGW\WEB-INF\classes\com\peoplesoft\pt\integrationgateway\targetconnector>javac xxxTargetConnector.java

Unfortunately i got around 99 errors saying

xxxTargetConnector.java:187: cannot find symbol
symbol : variable Logger
location: class com.peoplesoft.pt.integrationgateway.targetconnector.xxxTargetConnector

How to compile a single file in a project ?

Comments

1048869

Any help on this?

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 4 2010
Added on Mar 3 2010
1 comment
1,111 views