如何在 Windows 7 上安装 Connector/J?
我需要一步一步的指导。 我已经从mysql网站http://dev.mysql.com/usingmysql/java/
但现在我不知道从这里该做什么? 我有点卡住了..
I need step by step instructions.
I have downloaded if from the mysql website http://dev.mysql.com/usingmysql/java/
But now I am not to sure what to do from here?
I'm sort of stuck..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只需将 JAR 文件放入运行时类路径中即可。这与环境无关。
具体如何做到这一点取决于它是什么类型的应用程序。例如,如果它是由
java.exe
执行的普通 Java 应用程序,则使用-cp
参数指定类路径。类路径基本上是 JAR 文件和/或
.class
文件的路径集合,Java 应在其中查找类定义。另请参阅:
Just put the JAR file in the runtime classpath. This is not environment-dependent.
How exactly to do that depends on what kind of application it is. If it's for example a plain vanilla Java application which you execute by
java.exe
, then use the-cp
argument to specify the classpath.The classpath is basically a collection of paths to JAR files and/or
.class
files where Java should look for class definitions.See also:
以更直接的形式...将 jar 文件添加到
C:\Program Files\NetBeans 7.4\java\modules\ext
这是您的 netbeans 和繁荣版本,很好用
In a more direct form... Add the jar file to
C:\Program Files\NetBeans 7.4\java\modules\ext
That being your version of netbeans and boom, good to go