As I posted on the official Java suppo开发者_如何学JAVArt forum several days ago, I want to know, if JCTree Symbols can be resolved from own code with the original javac implementation.
Is there a way to disable restrictions of javac 1.6.0_22 that prevent me from using JRE internal classes like sun.awt.event.* ?
Can anybody tell me the jsr14 target option of javac w开发者_StackOverflow中文版ill be still available with JDK7/8?
I am trying to compile my source code from the Windows 7 command prompt. I have added the directory in which my *.java file is located to the classpath. Yet, I still get this error:
I\'m trying to compile all my packages except two of them, here is what my javac in build.xml looks like
I\'m trying to compile ActionFactory.java file which imports one of my package, RegisterAction.java Here is the file structure:
Looked at several post on stackoverflow as well as other sources (online + ANT definition guide book) but none of them helped so far. I can\'t exclude the file from compiling.
I start studying ANT today in order to make Java compiling easier. I wrote simple ANT script which only use javac command.
I have the following directory structure form where I am invoking javac src/ lib/ build/ Under src: src/com/xyz/App.java -- contains the main class
I wrote a Java program that has 3 classes. When, I use javac, I am getting errors whenever my main class attempts to interact with the other classes. Is there anything special that I need to do? I am