Where is JDK in eclipse for java? [message #1172759] |
Wed, 06 November 2013 04:18 |
Zhg Mising name Messages: 81 Registered: March 2011 |
Member |
|
|
I install eclipse for java and run a smaple, it's ok,
but where can find jdk in the eclipse and how to check what its version is?
in the eclipse there is no jdk or sdk folder, there are
configuration; dropins; features; p2; plugins and readme folders under the eclipse.
what are they?
Thanks,
|
|
|
|
|
|
Re: Where is JDK in eclipse for java? [message #1174153 is a reply to message #1174137] |
Thu, 07 November 2013 00:36 |
Zhg Mising name Messages: 81 Registered: March 2011 |
Member |
|
|
from eclipse ide for java developer, it says,
----The essential tools for any Java developer, including a Java IDE, a CVS client, Git client, XML Editor, Mylyn, Maven integration...
Does that mean this java IDE include jdk? and where is it?
Thanks,
|
|
|
Re: Where is JDK in eclipse for java? [message #1174164 is a reply to message #1174153] |
Thu, 07 November 2013 00:48 |
|
On 11/6/2013 5:36 PM, Zhg Mising name wrote:
> from eclipse ide for java developer, it says,
>
> ----The essential tools for any Java developer, including a Java IDE, a
> CVS client, Git client, XML Editor, Mylyn, Maven integration...
> Does that mean this java IDE include jdk? and where is it?
Nope. Eclipse has it's own Java compiler, but you need a proper JDK out
of which comes Javadoc for use by Eclipse's Content Assist (the feature
that's like Visual Studio's Intellisense).
|
|
|
|
Re: Where is JDK in eclipse for java? [message #1175069 is a reply to message #1174361] |
Thu, 07 November 2013 14:04 |
|
On 11/06/2013 08:56 PM, Zhg Mising name wrote:
> Thank you. that means eclipse build=in compiler is different from jdk.
> we have to install jdk outside for javadoc use.
>
> and which compiler will the ant use? both can do? or we have to modify
> its build.xml to suit to outside jdk?
I understand your concern. While I'm sure tiny problems have arisen in
the differences, I've not personally experienced any inconvenience using
Eclipse and, later, building my JAR or WAR with ant and either OpenJDK
or a Sun JDK.
It's likely the case that ant can be directed to use Eclipse's javac,
but I've never looked to see how that would be done.
|
|
|
|
|
|
Re: Where is JDK in eclipse for java? [message #1176792 is a reply to message #1175224] |
Fri, 08 November 2013 15:03 |
Zhg Mising name Messages: 81 Registered: March 2011 |
Member |
|
|
I check tackdef and find no problem at path side, all jar were included. what's matter?
<!-- jar file from where the tasks are loaded -->
85. <path id="android.antlibs">
86. <pathelement path="${sdk.dir}/tools/lib/anttasks.jar" />
87. </path>
88.
89. <!-- Custom tasks -->
90. <taskdef resource="anttasks.properties" classpathref="android.antlibs" />
91.
92. <!-- Emma configuration -->
93. <property name="emma.dir" value="${sdk.dir}/tools/lib" />
94. <path id="emma.lib">
95. <pathelement location="${emma.dir}/emma.jar" />
96. <pathelement location="${emma.dir}/emma_ant.jar" />
97. </path>
98. <taskdef resource="emma_ant.properties" classpathref="emma.lib" />
99. <!-- End of emma configuration -->
Thanks,
|
|
|
Powered by
FUDForum. Page generated in 0.11717 seconds