Under the determination to learn Java, several colleagues have suggested that I go to learn Android, I also feel that can do some application to play on the machine is also more powerful.
Judging wrote in an article :
Do C's look down on the C + +. Engage in C + + look down on java. Make Java look down on the. NET to make. NET despise to do JS. Do JS despise to make HTML. Make HTML despise art ...
Although I use the Mac may do iphone development more convenient point, and the fastest way to get started is to use Object-c first
But the industry generally thinks C + + is higher than Java, c#.net than Java Advanced, object-c is not as good as C #
Now the company would have thought that C + + programmers are more likely to come in and find our floor Java programmers the most.
Learn iOS even a ask people are not, the company's business has not yet done this piece.
Ask the Java question, drop the master heap.
The former company has learned the OC colleague, went out to find a job met many companies are hoping to find a master in C + +, and do not need OC half bucket of water.
Since my iphone5 was stolen, I do not intend to use the iphone, just sleep today is not a dream and lost an iphone, or our home that the 4s, this has the shadow of said.
First, Oracle installed the new JDK,MAC itself with the old JDK, I use Oracle online monitoring did not pass, so installed a new,
The configuration of environment variables, according to official documents :
-VM value:mac OS X exampleon a Mac OS X system, you can find Eclipse.ini by right-clicking (or Ctrl+click) on the Eclipse executableinchFinder, choose Show Package Contents, and then locate Eclipse.iniinchThe MacOS folder under contents.to specify Java6 forOS X:-VMS/system/library/frameworks/javavm.framework/versions/1.6.0/home/bin/javafor versions of Mac OS X10.7+The location have changed to/library/java/javavirtualmachines/<"'Jdk_name_ver"'>/contents/home/... To is safer, determine the location forThe JDK intend to use via the utility/usr/libexec/java_home and put ThisValue with .../bin/java appended into the Eclipse.ini file.
I looked at the Java Control Panel/view and manage Java Runtime versions and settings for Java applications and a in System preferences Pplets./view obviously, as mentioned above, my OSX 10.9.3 path has been changed to:
/Library/Internet Plug-ins/javaappletplugin.plugin/contents/home/bin/java
Although the 1.6.0 file is present, but it is useless, it is not written into the ~/.profile.
Here are some simple instructions for vim to operate in the terminal:
set path under Mac1First look at the PATH command: $PATH2How to set the path command: Echo"export path=xxxxxx: $PATH">> ~/. Bash_profile Explanation: Put"export path=xxxxxx: $PATH"Output Print to ~/. Bash_profile go in. 3Unix Knowledge Supplement: ~/the. Bash_profile introduces Mac and Linux endpoints that are typically parsed using bash. When Bash finishes reading the overall environment variable, the/etc/Profile and with this call to other profiles, the next step is to read the user-defined personal profile. There are three types of files that bash reads:~/.bash_profile ~/.bash_login ~/. Profile in fact, bash Restart is read only one of the above files, and the order of reading is in accordance with the order above. In other words, read bash_profile will not read the back, if Bash_profile does not exist, the latter can have the opportunity. Let's see what's Inside Bash_profile: commands: Cat~/.bash_profile
View Code
The cat is used to display the contents of the file, review it before changing it.
VI ~/.profile or ~ can use $home is the same
After entering VI, insert at current position with I
: W Save
: Q Exit VI
In this way, the JDK environment variables are configured first.
Next, the general tutorial is used by eclipse
Although my air space is not big, still decided to serious first to install first,
After all, our company's HTML5 studio is also imitating this IDE, familiar with the document structure and so on are good.
Chose Stable's 4.5m1:
http://download.eclipse.org/eclipse/downloads/
After downloading, verify the MD5 value with the file path after the MD5 instruction in the terminal
in : consolepsair: ~ narumi$ MD5/.../eclipse-sdk-4. 5m1-macosx-cocoa-
Enter MD5 (/users/narumi/downloads/eclipse-sdk-4. 5m1-macosx-cocoa-x86_64.tar.gz) = 3427d9452e5496104358b615665a9340
Unzip and drag to applications.
Journey of Android for Mac