JAR解决

问题描述

我用Eclipse导出.jar文件,双击也不能运行,百度了很多也没有解决,不是Winrar里设置的问题,我安装有JDK1.6,怎样解决???????谢谢。。。。。。。图标是压塑文件的图标。。。。。。

解决方案

解决方案二:
导出时有一页你需要选择这个jar包类中有main方法的类,选了才能双击。图标就甭想改了,因为你用了盗版的WinRAR,所以就是压缩文件的图标

时间: 2024-09-03 13:08:56

JAR解决的相关文章

【转】Eclipse maven工程 Missing artifact com.sun:tools:jar:1.6.0:system 解决方法

解决方案一:通过maven取运行时参数,eclipse提供的环境变量,基本类似System.getProperty("java.home") <dependency>           <groupId>com.sun</groupId>           <artifactId>tools</artifactId>           <version>1.5.0</version>      

problem中Project&amp;#39;XX&amp;#39;is missing required library:&amp;#39;[路径]\XXX.jar&amp;#39;解决方法

起因:        今天在接手同事做的一个项目时,发现用Myeclipse部署后,项目里有不少网页出现红叉,逐个修改完后,项目理应不再显示红叉,但奇怪的是,项目所有的子文件都没错误,项目根目录却有个红叉...>_<!同时Myeclipse下的problem中出现一堆error,提示:Project 'XXX' is missing required library:'[path] \ XXX.jar'. 解决:         出现这种情况的原因是:在你项目的build path Libra

深入android中The connection to adb is down的问题以及解决方法_Android

自己总结的在android中常会出现的不好解决的问题和方法1.报错:BUILD FAILEDD:\workspace\ganji\build.xml:144: The following error occurred while executing this line:D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar解决:已经开了一个模拟器了,无法重新编译

Android编程中出现The connection to adb is down问题的解决方法_Android

本文分析了Android编程中出现The connection to adb is down问题的解决方法.分享给大家供大家参考,具体如下: 1.报错: BUILD FAILED D:\workspace\ganji\build.xml:144: The following error occurred while executing this line: D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\g

android中The connection to adb is down,问题和解决

自己总结的在android中常会出现的不好解决的问题和方法 (其中第三个方法经过了四天的折磨.....哎) 1.报错:BUILD FAILED D:\workspace\ganji\build.xml:144: The following error occurred while executing this line: D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\ganji\tmp\proguard\

我的Android进阶之旅------&amp;gt;Android项目运行报java.lang.NoClassDefFoundError错误的解决办法

    今天在运行一个Android项目的时候,报了以下错误: D/AndroidRuntime( 3859): Shutting down VM E/AndroidRuntime( 3859): FATAL EXCEPTION: main E/AndroidRuntime( 3859): Process: com.runbo.outdoormeter, PID: 3859 E/AndroidRuntime( 3859): java.lang.NoClassDefFoundError: com.

MyEclipce 导出的Jar文件运行无法access连接数据库怎么回事?

问题描述 MyEclipce导出的Jar文件运行无法access连接数据库怎么回事?求解释.如果有大神乐于助人可以留给QQ号.程序内容:读表里面的第一行数据.并打印出来.D:WorkspacesMyEclipse9TestMainsrc>java-jartestmain2.jarjava.sql.SQLException:[Microsoft][ODBC驱动程序管理器]未发现数据源名称并且未指定默认驱动程序atsun.jdbc.odbc.JdbcOdbc.createSQLException(U

解决spring mvc 返回json数据到ajax报错parseerror问题

最近使用ajax接收spring mvc传过来的json数据时总是出现parseerror的错误,错误源码如下: 前端: $.ajax({ type: 'POST', url: "groupFunctionEdit", dataType: 'json', contentType: "application/json", data: JSON.stringify(functiondata), success: function(data){ alert('数据加载成功

深入android中The connection to adb is down的问题以及解决方法

自己总结的在android中常会出现的不好解决的问题和方法 1.报错:BUILD FAILED D:\workspace\ganji\build.xml:144: The following error occurred while executing this line: D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar 解决: 已经开了一个模拟器了,无