File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Cannot compile java files located in packages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cannot compile java files located in packages" Watch "Cannot compile java files located in packages" New topic
Author

Cannot compile java files located in packages

Vikki Fiawoo
Greenhorn

Joined: Oct 22, 2010
Posts: 11
I do not know what went wrong. Everything was working fine, until I made changes to my CLASSPATH in the Enviroment Variables. I do not know exactly what I changed because I kept revising it. Currently in only contains the following:



I am using Tomcat 6 with jdk 1.6.0_21. If you notice the above code, I do not have a "." or a ";" in the beginning of the value.

Any ideas? It's driving me insane because it was working on Thursday.

Thanks in advance for your help.
Vikki Fiawoo
Greenhorn

Joined: Oct 22, 2010
Posts: 11
I got it working!! I took out the "." and ";" and restarted my computer.

Complied the java file within the packages (directories) and it works fine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot compile java files located in packages
 
Similar Threads
Servlet in Package Issue
struts class file error
Configuration problem
servlet.jar and servlet-api.jar
classpath issue while compiling through cmd prompt