- 博客(20)
- 收藏
- 关注
原创 新版本JAVAFX项目打包到Windows和Mac平台
JAVAFX之前打包成jar的方式,再拿到多个安装了jre的平台运行,弊端就在于无论Windows,还是Mac都需要安装了jre运行环境才能正常运行JAVAFX打包出来的jar包程序。有一种打包方式可以让没有安装jre运行环境的电脑直接运行JAVAFX的应用程序,这个就是jlink打包,他会把jre直接打包到应用程序中,避免电脑再安装jre运行环境。
2023-04-05 17:51:51 813
原创 最完整的Windows系统安装教程(Win7、Win10、Win11)
启动按键正确连续不停的按下之后就会出现如下界面,这里是选择启动方式,我们选择从U盘启动,一般上面的文字带有USB的基本就可以判断是U盘了(也有可能不是的,只能自己每一个测试了),选择那一项,直接按下回车键。U盘PE系统启动稍许复杂,在不同品牌的电脑上的启动按键是有区别的,重启电脑,在重启过程中连续不停的按下启动按键(不是按住),下面是一些品牌的启动按键表,请根据自己实际情况来操作。在制作无U盘PE系统之前,先确认自己原来的系统是安装在哪个盘,系统盘都会有一个Windows文件夹,一般都在C盘。
2022-10-27 22:58:40 15722 4
原创 Windows系统丢失 .dll 文件的解决方案
运行库就是支持大部分程序运行的基础,由于很多常用软件都是采用 Microsoft Visual Studio 编写的,所以这类软件的运行需要依赖微软Visual C++运行库,比如像 QQ、迅雷、Adobe 软件等等,如果没有安装VC++运行库或者安装的版本不完整,就可能会导致这些软件启动时报错,提示缺少库文件。有时安装完成的软件,双击打开后会出现以上提示,各种dll文件缺失,造成这种错误提示的原因是由于新安装的windows系统没有安装windows运行库,系统缺失了一些运行文件造成的。
2022-10-18 11:49:43 3845
原创 VMware虚拟机安装Windows 10
文件-新建虚拟机典型-下一步选择Microsofit Windows,选择版本为Windows 10 x64,点击下一步选择安装程序光盘映像文件(iso),在点击浏览选择已下载好的Windows 10 iso文件,然后点击下一步点击浏览选择你的虚拟机保存的位置,点击下一步选择你虚拟机的磁盘大小,选择将虚拟磁盘拆分成多个文件,点击下一步你可以点击自定义硬件,选择一下虚拟机的配置(虚拟机配置是可以随时修改的),也可以直接完成自定义硬件中,你可以条件处理器核心数,内存大小等等。
2022-09-18 12:01:01 1700
原创 linux 常用指令
查询指定jar包有没有运行ps -ef|grep 'xxx.jar' 正在运行root 3645 30196 0 11:25 pts/0 00:00:00 grep --color=auto xxx.jarroot 10693 1 0 Oct26 ? 01:00:51 java -jar xxx.jar尚未运行root ...
2018-12-14 14:59:29 210
原创 Windows 10 下载官方正版ISO镜像文件
进入微软官网Windows 10下载页面,点击立即下载工具下载地址:https://www.microsoft.com/zh-cn/software-download/windows10下载工具完成,打开Win10安装程序,下载ISO镜像文件双击运行稍等片刻直接点击接受选择第二个选项,点击下一步可以默认直接点击下一步,也可以取消勾选“对这台电脑使用推...
2018-09-01 09:08:48 126688 24
原创 Centos 7 mysql安装
Centos 7 mysql安装安装wgetyum -y install wget下载mysqlwget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm解压mysqlrpm -ivh mysql-community-release-el7-5.noarch.rpm安装mysqlyum instal...
2018-08-25 13:59:21 252
原创 Centos 7 Tomcat安装
Centos 7 Tomcat安装安装Tomcatsudo yum install tomcattomcat文件目录/usr/share/tomcat/启动Tomcat服务sudo systemctl start tomcat重启Tomcat服务sudo systemctl restart tomcat开机启动Tomcat服务sudo systemctl enable...
2018-08-25 13:59:02 694 1
原创 org.hibernate.NonUniqueObjectException: A different object with the same identifier value was alread
错误异常:org.hibernate.NonUniqueObjectException: A different object with the same identifier value was already associated with the session原因: 1. show业务操作,开启一个session ,从中查出一些实体,这时某个实体是存在于sess
2018-02-05 14:31:45 422
原创 org.hibernate.boot.MappingNotFoundException: Mapping (RESOURCE) not found :
错误的状态:正确的状态:我使用了Gradle做编译,src文件夹是存放代码的,resource文件夹是存放资源的,因此intellij在编译的时候会忽略src文件夹下面的xml文件,导致最后发布的文件夹下面丢失了这些映射文件。
2018-01-30 10:12:37 778
原创 ScrollView 嵌套 ViewPager时,ViewPager的内容不显示
在ScrollView 中添加android:fillViewport="true" 整体设置<ScrollView android:layout_width="match_parent" android:fillViewport="true" android:layout_height="match_parent">
2018-01-13 10:57:39 602
原创 No suitable driver found for jdbc:mysql://localhost:3306/mysql
报错内容:No suitable driver found for jdbc:mysql://localhost:3306/mysql解决方法:需要将数据库驱动 mysql-connector-java-5.1.45-bin.jar 复制到 C:\Program Files (x86)\Java\jre1.8.0_151\lib\ext 中,项目需要添加 mysql-connect
2018-01-10 10:33:38 4718 1
原创 解决Firefox不响应window.resize事件
这段代码在IE、chrome都允许正常,firefox则不正常<script> $(window).resize(function () { location.reload(); });</script>解决方法: firefox对reload()做了处理,不能能频繁刷新,所以加个延迟就好了<script> $(window
2017-12-28 09:57:56 778
原创 Execution failed for task ':app:installDebug'.
BUG* What went wrong:Execution failed for task ':app:installDebug'.> com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Failed to finalize session : INSTALL_FAILED_
2017-12-26 15:55:50 3837 3
原创 Execution failed for task ':app:processDebugResources'.
BUGExecution failed for task ':app:processDebugResources'.> java.io.IOException: Could not delete path 'F:\android\project\reactnative\mypractice\android\app\build\generated\source\r\debug\android\su
2017-12-26 15:54:14 441
原创 Unable to start the daemon process
BUG* What went wrong:Unable to start the daemon process.This problem might be caused by incorrect configuration of the daemon.For example, an unrecognized jvm option is used.Please refer to the use
2017-12-26 15:12:51 807
原创 java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourcePar
错误内容java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser android.content.pm.ProviderInfo.loadXmlMetaData(android.content.pm.PackageManager, java.lang.
2017-12-21 19:51:59 9643
原创 HTML、JavaScript 本地文件读写
文件读取HTML<html><head> <script type="text/javascript" src="./js/ReadTest.js"></script></head><body><input type="file" id="file" name="files[]" multiple /><script type="text/javascript"> var
2017-12-14 11:09:02 2248
原创 BUG_Cannot merge new index 65810 into a non-jumbo instruction!
异常内容:Error:Execution failed for task ':app:transformClassesWithDexForSqyDebug'.> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.co
2017-02-24 16:53:49 452
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人