开发者

Using Ant with Flex

I'm having problems setting up Ant to use with Flex. I install it fine but I get this error when I try and check the install: Unable to locate tools.jar.

From what I've read, I just need to point JAVA_HOME to the directory that contains the jdk. Unfortunately, I'm not sure I know which jre I'm using in Eclipse and also, I do a search for tools.jar on my machine and it's not there???

I have a C:\Program Files\Java directory and there is this in there:

  • j2re1.4.2_05
  • jdk1.6.0_03
  • jre1.6.0.23

In Eclipse --> Windows --> Preferences --Java --> Installed JREs, it's pointing to here:

eclipse-host-distro, C:\Program Files\Adobe\Adobe Flash Builder Plug-in\eclips开发者_如何学Goe-host-distro

Am I not working with a full JRE?

Any tips are greatly appreciated. Thank you in advance.


Just specify your JAVA_HOME path as C:\Program Files\Java\jdk1.6.0_03\ and everything should be good as long as the JDK was properly installed. If that doesn't work, get the latest and try again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜