title: Sending GCode as String Using Java
body: <p>Writing a simple program to send GCode via Java using jssc libraries.
  Tried the following without success</p>
  
  <ul>
  <li>serialPort.writeString("G01 X1 Y1 Z1")  </li>
  <li>serialPort.writeString("%G01 X1 Y1 Z1%")</li>
  <li>serialPort.writeString("%")
  serialPort.writeString("G01 X1 Y1 Z1")
  serialPort.writeString("%")</li>
  </ul>
  
  <p>I am able to open / close the port (can hear the pulse from the machine) but the machine wont react to the Gcode sent.
  Need help.</p>
  
  <p>Regards,
  Jai</p>