如何安装 org.apache.commons.code.binary.Base64?
我正在上 Android 课程,并且是 JDeveloper 的新手。我正在开发一个 Web 服务应用程序。我下载了一些带有“Import org.apache.commons.binary.Base64”的代码。对于此导入,JDeveloper 大声叫喊“未找到”。我在apache网站上找到了org.apache.commons.binary.Base64模块并下载了它。我现在该怎么办?我不确定如何或在哪里放置此代码。下载的文件夹有几个文件夹,其中一个文件夹的底部是我的 Base64 模块。抱歉问这么基本的问题。我正在使用在 Windows 7 上运行的 JDeveloper 11g 11.1.1.0.2。
I am taking a class on Android and I am a newbie with JDeveloper. I am working on a Web Services application. I downloaded some code that has a "Import org.apache.commons.binary.Base64". JDeveloper is barking "not found" for this import. I found on the apache website the org.apache.commons.binary.Base64 module and downloaded it. What do I do now? I am not sure how or where to place this code. The downloaded folder has several folders and and way down at the bottom of one of them is my Base64 module. Sorry for such a basic question. I am using JDeveloper 11g 11.1.1.0.2 running on Windows 7.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您下载的是 Base64.java 源代码,只需将其添加到您的项目中即可
org/apache/commons/binary/Base64.java
如果您下载了一个 jar,请将其添加到您的项目类路径中。在 JDeveloper 中,这应该可以从项目属性对话框中找到并选择“Libraries\Classpath”。
当然,如果您分发此项目,则需要遵守 Apache 许可证。
If you downloaded the source, which is just Base64.java, just add it to your project as
org/apache/commons/binary/Base64.java
If you downloaded a jar, add that to your project classpath. In JDeveloper this should be available from the project properties dialog and select "Libraries\Classpath".
Of course, if you distribute this project it will need to adhere to the Apache license.