0

I'm getting the following error in Eclipse, when I try to run a Batch file via the External Tools feature (in the Run menu).

:

C:\Eclipse_Java\AutonomicUsingJMX\adelthesis\src\fixedMessageApp>cd C:\Eclipse_Java\AutonomicUsingJMX\adelthesis\src\fixedMessageApp 

C:\Eclipse_Java\AutonomicUsingJMX\adelthesis\src\fixedMessageApp>javac -cp commons-io-2.4.jar FixedMessageSequenceServer.java 
FixedMessageSequenceServer.java:18: error: cannot find symbol
    private FixedMessageSequenceProtocol fmsp; 

This is my batch file :

cd C:\Eclipse_Java\AutonomicUsingJMX\adelthesis\src\fixedMessageApp 
javac -cp commons-io-2.4.jar FixedMessageSequenceServer.java   
java  FixedMessageSequenceClient.java 
java FixedMessageSequenceClient 
pause  
echo finished

But everything is in one project folder within Eclipse :

enter image description here

Any clues on what is going wrong with my code ? I'm thinking my batch file is incorrect, but not sure

Caffeinated
  • 11,134
  • 39
  • 115
  • 205

1 Answers1

1

Cannot find symbol is a compilation error. Check the commands individually to see which one is having the problem.

See this related answer: https://stackoverflow.com/a/25706217/288915

Community
  • 1
  • 1
kevingreen
  • 1,521
  • 1
  • 17
  • 40