Hi friends,
I am using POI In order to import the excel data's into MySQL using
Java. I just write a simple program and placed it in jdk\bin folder and it compiles too. But, when i copy the same Java File and placed it in WEB-INF folder of my project (I need to get the excel file online) and try to compiled, but it doesn't... What is the problem...
Here is the command i used to compile the Java file...
This one is for when i place the file in jdk bin folder..
javac -classpath c:\java\jdk1.6\lib\poi-3.5-beta1-20080718.ja
r;C:\java\jdk1.6\bin ReadExcel.java
Note: ReadExcel.java uses or overrides a deprecated API.
Note: Recompile with -Xlint eprecation for details.
This one is when i put that file in WEB-INF folder...
javac -classpath c:\apache-tomcat-6.0.16\lib\poi-3.5-beta1-20080718.jar;C:\apa
che-tomcat-6.0.16\webapps\rmanew\WEB-INF\classes ReadExcel.java
This gives me an error like this
'javac' is not recognized as an internal or external command,
operable program or batch file.
Please help me ranchers...