Comments (6)
I tried to add jintellitype64.dll in appdata\local\jintellitype\1.4.0\ of the new computer,it works,But I don't know why this will take effect, and do I have to manually add DLL files to Disk C every time my jar package runs on another computer
from jintellitype.
I forget its been so long but I thought it was try and load it from inside the JAR first. @RocketMaDev any thoughts?
from jintellitype.
en:
That's quite strange. It works properly on my system. Please show me the file structure in your jar file.
zh:
不应该啊,在我的系统上它工作得很正常。请放一个你打包好的jar的文件结构
from jintellitype.
en:
That's quite strange. It works properly on my system. Please show me the file structure in your jar file.
zh:
不应该啊,在我的系统上它工作得很正常。请放一个你打包好的jar的文件结构
client-0.0.1-SNAPSHOT.zip
EN:He reported an error at this position in the figure and could not find his windows internal files
ZH:我认为他是在图中那个位置Classloader获取文件时未找到文件,但是怎么解决我还没搞明白。现象就是我工程IDEA直接启动时classloader可以找到对应的dll文件,工程打成jar包后,classloader就找不到文件了
from jintellitype.
en:
Yep, you're right. I've checked your jar file and found the path of the library is actually BOOT-INF/classes/com.melloware.jintellitype/JIntellitype64.dll
, different from the path defined in class, which can been seen in your exception stack. I have two options now:
- Download the source code and modify the
jarPath
to the actual path I mentioned and then compiled it. - Use the reflection. Modify the method and then load it by yourself.
Considering my code level, a basic learner, you may consult search engine to look for other alternatives if you're not satisfied with the options above.
zh:
你说对了。我已经检查了你的文件结构,但是我发现dll文件位于BOOT-INF/classes/com.melloware.jintellitype/JIntellitype64.dll
而不是你在错误堆栈里看到的它应该所在的位置。我现在有两个方案:
第一个就是下载这个项目的源码,然后把jarPath
变量的前缀改一下,使其指向正确位置(即上文提到的真实位置),然后把它重新打包成jar
第二个就是用反射修改这个方法,然后手动加载一次
考虑到我还只是一个基础的Java学者,Spring架构还没接触过,所以说如果你对上面的两种方案都不满意的话,请自行搜索解决方案。
from jintellitype.
en: Yep, you're right. I've checked your jar file and found the path of the library is actually
BOOT-INF/classes/com.melloware.jintellitype/JIntellitype64.dll
, different from the path defined in class, which can been seen in your exception stack. I have two options now:
- Download the source code and modify the
jarPath
to the actual path I mentioned and then compiled it.- Use the reflection. Modify the method and then load it by yourself.
Considering my code level, a basic learner, you may consult search engine to look for other alternatives if you're not satisfied with the options above.
zh: 你说对了。我已经检查了你的文件结构,但是我发现dll文件位于
BOOT-INF/classes/com.melloware.jintellitype/JIntellitype64.dll
而不是你在错误堆栈里看到的它应该所在的位置。我现在有两个方案: 第一个就是下载这个项目的源码,然后把jarPath
变量的前缀改一下,使其指向正确位置(即上文提到的真实位置),然后把它重新打包成jar 第二个就是用反射修改这个方法,然后手动加载一次考虑到我还只是一个基础的Java学者,Spring架构还没接触过,所以说如果你对上面的两种方案都不满意的话,请自行搜索解决方案。
EN:Thanks. It's settled,I changed the way to read files in his source code
ZH:我更改了他源码中读取文件的方式,更改后文件能够正常读取了,谢谢!
from jintellitype.
Related Issues (20)
- The registration button does not support - , ; Such symbols seem to support only A-Z uppercase characters? HOT 2
- Can't load library dll from inside of the Spring Boot JAR application HOT 1
- Readme file should be written in Markdown HOT 2
- could i use this to listen to the mouse wheel pressed HOT 1
- Java 11 DLL is crashing... HOT 46
- 一些window10的问题?/Some window10 problems? HOT 1
- Load DLL's from inside JAR HOT 4
- JavaFX HOT 2
- 如何在两个不同应用中,同时注册相同的热键 HOT 1
- could not load DLL HOT 5
- NullPointerException in "JIntellitypeDemo.java" HOT 1
- JIntellitype64.dll can not be loaded correctly since 8u261 HOT 54
- The registration button is invalid in full-screen mode HOT 10
- Hotkey Distinguish KeyUp from KeyDown HOT 3
- Can it listen for the mouse? HOT 2
- Can't register slash and back slash key HOT 3
- Error thrown as a result of missing library HOT 3
- i can't understand intellitype and What can be achieved through it HOT 2
- when JIntellitypeDemo running and registerHotKey , some key does not work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jintellitype.