烦人的警告 Deprecated: convertStrings was not specified when starting the JVM
2024-09-20 01:05:08
python 调用java代码:
Deprecated: convertStrings was not specified when starting the JVM. The default
behavior in JPype will be False starting in JPype 0.8. The recommended setting
for new code is convertStrings=False. The legacy value of True was assumed for
this session. If you are a user of an application that reported this warning,
please file a ticket with the developer.
每次运行程序都看到这个玩意,觉得恶心,那就去进入 修改这个警告。
cd /usr/local/lib/python2.7/dist-packages/jpype
vim _core.py
把烦人的警告直接替换为空格
最后运行程序:
最起码看着不是那么的恶心了。
最新文章
- yxcms后台验证码不显示?怎么取消yxcms后台验证码
- 系统安全:Nessus Home版安装使用
- 大批量GPS坐标转百度坐标
- h5 range应用 透明度+RGB
- Intel OIT demo
- hdu Interesting Fibonacci
- linux源码阅读笔记 #define 语句的妙用
- Windows 下如何设置 只允许固定IP远程访问
- Spark学习笔记--概念知识
- border-radius讲解2
- Android Wear 开发入门——怎样创建一个手机与可穿戴设备关联的通知(Notification)
- 微信小程序开发04-打造自己的UI库
- validation-api各注解的用法
- Spring详细教程
- 第18课-数据库开发及ado.net 连接数据库.增.删.改向表中插入数据并且返回自动编号.SQLDataReade读取数据
- 24. Swap Nodes in Pairs(M);25. Reverse Nodes in k-Group(H)
- Java 8 – Filter a Map examples
- Nginx总结.md
- 【Java面试题】56 在JAVA中如何跳出当前的多重嵌套循环?
- 解决异常:Package should contain a content type part [M1.13]
热门文章
- vue脚手架中使用Vant,实现自动按需引入组件,并将px转换为rem
- git diff/difftool
- 今天七夕节,外面下着大雨,用Python的tkinter做一个下爱心雨的特效,发给妹子
- [Docker] Windows 宿主环境下,共享或上传文件到容器的方法
- Ubuntu中shell脚本无法使用source命令的原因与解决方法
- Spring Boot与mybatis整合
- Spring整合Hibernate的两种方式
- php mysqli 预处理操作数据库
- 从损失函数优化角度:讨论“线性回归(linear regression)”与”线性分类(linear classification)“的联系与区别
- Unity - 绘制正五边形网格