简体   繁体   English

将自定义JDK添加到Netbeans 6.9.1

[英]Add a custom JDK to Netbeans 6.9.1

I'm trying to add a custom JDK to Netbeans 6.9.1 on OSX 10.6.5. 我正在尝试在OSX 10.6.5上向Netbeans 6.9.1添加自定义JDK。 The JDK is just a collection of classes created for leJOS, a Java package for the Lego NXT robot. JDK只是为leJOS(乐高NXT机器人的Java程序包)创建的类的集合。 I can't just add the classes for this JDK to the existing Java JDK because there are a few nasty mismatches between things that are classes in one and interfaces in the other. 我不能仅将此JDK的类添加到现有的Java JDK中,因为在一个类中的类与另一个类中的接口之间存在一些讨厌的不匹配。 When I select the "Add Platform..." option from the Tools > Java Platforms menu I get a file chooser dialog. 当从“工具”>“ Java平台”菜单中选择“添加平台...”选项时,会出现一个文件选择器对话框。 If I point this at some existing JDK I can can select "Next" and move on. 如果我将其指向某个现有的JDK,则可以选择“下一步”并继续。 If I try to do this with the jar files for leJOS I get no such option. 如果我尝试使用leJOS的jar文件来执行此操作,那么我将没有这种选择。 Can anyone tell me what file this dialogue box is actually looking for, and how I can create one for an arbitrary collection of classes? 谁能告诉我该对话框实际在寻找什么文件,以及如何为任意类的集合创建一个文件?

cheers, Nick 欢呼声,尼克

File/Folder Structure of your JDK is not conforming the Standard. JDK的文件/文件夹结构不符合标准。

see http://download.oracle.com/javase/1.5.0/docs/tooldocs/linux/jdkfiles.html 参见http://download.oracle.com/javase/1.5.0/docs/tooldocs/linux/jdkfiles.html 替代文字

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM