title: package com.mathworks.toolbox.javabuilder does not exist
body: <p>I need my matlab code run in Java, but errors occured during deploying process, I couldn't compile the Java source file.</p>
  
  <p>Here are the compilation errors:</p>
  
  <pre><code>C:\Users\HT\Untitled1\src\Untitled1\Class1.java:12: error: package com.mathworks.toolbox.javabuilder does not exist
  import com.mathworks.toolbox.javabuilder.*;
  ^
  C:\Users\HT\Untitled1\src\Untitled1\Class1.java:13: error: package com.mathworks.toolbox.javabuilder.internal does not exist
  import com.mathworks.toolbox.javabuilder.internal.*;
  ^
  
  ...
  
  [checking Untitled1.Class1Remote]
  [loading ZipFileIndexFileObject[C:\Program Files (x86)\Java\jdk1.7.0_02\lib\ct.sym(META-INF/sym/rt.jar/java/io/IOException.class)]]
  [loading ZipFileIndexFileObject[C:\Program Files (x86)\Java\jdk1.7.0_02\lib\ct.sym(META-INF/sym/rt.jar/java/lang/Exception.class)]]
  [total 1270ms]
  43 errors
  
  Error: An error occurred while shelling out to javac (error code = 1).
  Unable to build executable.
  </code></pre>
  
  <p>I'm sure that <code>javac</code> was added in computer's environment variables. </p>
  
  <p>How is this caused and how can I solve it?</p>