Today we are going to share some of the reverse compiler tools on Java, which sounds like a very high technical vocabulary, in layman's terms, it is a process of reverse analysis of the target executable program to get the original code. In particular, a programming language running on a virtual machine such as. NET and Java is easier to decompile to get the sour
Java decompiler,: http://java.decompiler.free.fr/jd-gui/#downloads, the latest version is 0.2.8, written in C ++, support Ms, Mac, Linux three OS, the function is as follows:1. Supports compiling the entire jar file. In this way, the compiled file can be associated with the Lib jar package in eclipse to facilitate viewing the source file.2. Quick source file searching: Ctrl + Shift + T3, 2. Support for deco
Programming | Compiling JAVAC-----Java programming language compiler
* Summary
* Description
* Lookup Type
* File List
* Option
* Example
* Please refer to
synopsis[Summary]
javac [Options] [SourceFiles] [@files]
Oldjavac [Options] [soucefiles] [@files]
parameter suspicious bit arbitrary order
Options
Command line Options
SourceFiles
one or more of the original files
@files
1,Set up the JDK first, need to determine the project, Eclipse/myeclipse, the system is using the same version of the JDK, my system installed JDK is 1.7, so I put eclipse jdk into 1.72,Enter Windows---proferences---java--compiler settings compiled files using the format is 1.7 version (set to how many lines, as long as compatible, and with your project compiled
When importing a project from another place, you will often encounter Eclipse/myeclipse description Resource Path location Type Java compiler levels does not match the Vers Ion of the installed Java project facet. This problem occurs because the Eclipse/myeclipse JDK build version is inconsistent with the problematic JDK compilation version of the project!
This is the wrong time to use maven today.
And then checked on the Internet, the JDK version does not match,There are several places you can modify
Workaround 1:
The JDK I use is 1.8
Windows-proferences-java–compiler set JDK to 1.8
Windows-proferences-java–installed JREs set JDK to 1.8
Click Item Right button –properti
whether a word is a keyword. If a word text string appears in the tokentypes. reserved_words set (see listing 3-9), it must be a keyword. Because the Pascal keywords are case-insensitive, the relationship of the test set is completed in lower case (both are compared in lower case), and the token type is the corresponding pascaltokentype enumeration value. If the token type is an identifier, the value is now set to null (this value will be processed in the symbol table section later ).
Listing 3
Recently in Java, learning to learn the next. See polymorphic This section, there is a good example in the book, so prepare to write down, recorded:1 Packagedynamic_binding01;2 3 Public classDYNAMIC_BINDING01 {4 5 Public Static voidMain (string[] args) {6 //TODO auto-generated Method Stub7 Super super1=new Sub ();8System.out.println ("sup.field=" +super1.field+ ", sup.getfield=" +Supe
Recently, due to the company's project needs, learned a lot about the class loading knowledge, to the project has brought some thermal deployment breakthroughs. Due to the recent lack of busy work and the curiosity and thirst for a lower level of knowledge, I decided to learn a class file structure, and through a week of unremitting efforts, already mastered the class file structure, and Java implementation of a simple anti-
This article is only used to verify the java compiler in a cyclical manner. This article is a post, and I hope to get your analysis results. Here I reference a netizen (without personal attacks ):///////////////////////////If Vector v = new Vector () contains 10000 objects, we perform the following loop:For (int I = 0; I You must write the following code:Int size = v. size (); for (int I = 0; I ////////////
The problem is as follows:Http://stackoverflow.com/questions/19889145/setting-up-intellij-12-idea-with-java-1-7-and-resolve-java-system-java-compile
IntelliJ CE downloaded and installed
Latest Java 1.7 downloaded and installed
JDK is setup to make and run th
Span style= "font-size:15px" >1. When you create a new MAVEN project, the JDK uses 1.8, but the compile code hints fail ide to set a few places 1. Click Project Selection Project Structure 2. Setup Project SDK and project language level 3. Set the JDK version of the modules, select 8 4. Select setting, set Java
The Java compiler uses maven to create a war package. How can this problem be solved?
When packaging with maven, the following two errors occur:
Error 1: the package javax. servlet does not exist. The package javax. servlet. http does not exist.
Error 2: No compiler is provided in this environment. Perhaps you are runn
First put the problem out, first look at this codeString a = "AB";String B = "a" + "B"; System.out.println ((A = = b));What will the printing result be? Similar to the question, someone has tested me, I also take to test others (good play, we can also ask people to play), the general answer will be the following:1.trueThe result of "a" + "B" is "AB", so that the B is "AB", the content is equal, and the result is trueGeneral
:\java1\fivecptr\fivecptrone\Inheritance (remaining 2 classes)....... ↑----------.....Managertest.javaThen modify the code as followsInheritance two-class package changed to:Package fivecptr.fivecptrone.inheritance;....... __________↑_____________F:\java1\fivecptr\fivecptrone\inheritanceis to copy the path behind the Managertest.java class. Of course "\" replaced by "."TIPS: path names can not have strange symbols such as: underline _, Arabic numerals 0,1 ... (So fivecptr--!) with egg-acheNext:J
Main content of this article
I used to have such a short period of time. I was very interested. I wanted to see Java and understand it. However, every time the duration was not long, I forgot something after a while. After several such experiences, I decided to take another time to take a good look and write this blog post to record this process.
Brief content
1. How to Build a
{* + EOI}]Overwrite an existing expression in the collection:[F. NUM {* EOI}][F. NUM {+ EOI}]Delete The overridden expression, after adding the new expressionClosureset:[s--. E {EOI}][E. E + t {+ EOI}][e->. t {+ EOI}][T-T * F {* + EOI}][T-f {+ EOI}][F. (e) {* + EOI}][F. NUM {* + EOI}]At this point the stack top two expressions,. The symbol on the right is not a non-terminator, and the stack top two expressions are stacked.Then continue to pop up the stack top expression:[T-T * F {* + EOI}]To bu
Using java to develop the compiler: Thompson structure, convert regular expressions to finite state automation
Blog readers can go to my Netease cloud class to view the code debugging and execution process through video:
In the previous section, we implemented a finite state automation through code and applied it to the identification of integer and floating point numbers. The whole process is the essence o
Description Resource Path location Type Java compiler level does not match the version ofProject compilation problem requires three JDK versions to be consistent in order to compile the pass. 1. On the project right-click Properties->project facets-> Modify the version on the right to remain consistent2. Window->preferences->
1 Public classTestnull {2 Public voidmethod (Object o) {3System.out.println ("Object Version");4 }5 6 Public voidmethod (String s) {7System.out.println ("String Version");8 }9 Ten Public Static voidMain (string[] args) { OneTestnull tn=Newtestnull (); ATn.method (NULL); - } - the}The compilation can pass, and the result is as follows:So, how exactly does null call a function when it is a parameter? Before you answe
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.