raspberry + pycharm failed

news/2025/10/12 15:42:34/文章来源:https://www.cnblogs.com/roc-he/p/19136699

raspberry + pycharm failed

roc@raspberrypi:~/Downloads $ tar -zxvf pycharm-2025.2.3-aarch64.tar.gz

roc@raspberrypi:~/Downloads $ mv pycharm-2025.2.3 ../

 

roc@raspberrypi:/usr/lib/jvm/java-17-openjdk-armhf/bin $ java -version
openjdk version "17.0.16" 2025-07-15
OpenJDK Runtime Environment (build 17.0.16+8-Raspbian-1deb12u1rpi1rpt1)
OpenJDK Client VM (build 17.0.16+8-Raspbian-1deb12u1rpi1rpt1, mixed mode, emulated-client)

 

roc@raspberrypi:/usr/lib/jvm/java-17-openjdk-armhf/bin $ ls
java jpackage keytool rmiregistry

 

 

roc@raspberrypi:~/Downloads/pycharm-2025.2.3/bin $ ./pycharm.sh
./pycharm.sh: 188: exec: /home/roc/Downloads/pycharm-2025.2.3/jbr/bin/java: not found

 

 


# roc add
JAVA_BIN="/usr/lib/jvm/java-17-openjdk-armhf/bin/java"

if [ -z "$JAVA_BIN" ] || [ ! -x "$JAVA_BIN" ]; then
message "No JRE found. Please make sure \$PYCHARM_JDK, \$JDK_HOME, or \$JAVA_HOME point to valid JRE installation."
exit 1
fi

 

roc@raspberrypi:~/pycharm-2025.2.3/bin $ ./pycharm.sh

#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 16777216 bytes. Error detail: Failed to reserve memory for metaspace
# An error report file with more information is saved as:
# /home/roc/java_error_in_pycharm_9391.log

 

 

 

roc@raspberrypi:~/pycharm-2025.2.3/bin $ ./pycharm.sh
***PYCHARM_JDK=
***1- JRE=
***2- JRE=
***3- JRE=/home/roc/pycharm-2025.2.3/jbr
***4- JRE=/home/roc/pycharm-2025.2.3/jbr
***1- JAVA_BIN=/home/roc/pycharm-2025.2.3/jbr/bin/java
***2- JAVA_BIN=/usr/lib/jvm/java-17-openjdk-armhf/bin/java
OpenJDK Client VM warning: You have loaded library /home/roc/pycharm-2025.2.3/lib/jna/aarch64/libjnidispatch.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
2025-10-12 15:26:59,919 [ 92] WARN - #c.i.p.i.b.AppStarter - Unable to load JNA library (Linux/6.12.47+rpt-rpi-v8, jna.boot.library.path=/home/roc/pycharm-2025.2.3/lib/jna/aarch64)
java.lang.UnsatisfiedLinkError: Unable to locate JNA native support library
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:1014)
at com.sun.jna.Native.<clinit>(Native.java:221)
at com.intellij.jna.JnaLoader.load(JnaLoader.java:29)
at com.intellij.platform.ide.bootstrap.StartupUtil$scheduleLoadSystemLibsAndLogInfoAndInitMacApp$1$2.invokeSuspend(startup.kt:354)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.internal.SoftLimitedDispatcher$Worker.run(SoftLimitedDispatcher.kt:130)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:89)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:613)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:1183)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:778)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:765)
2025-10-12 15:27:00,703 [ 876] WARN - #c.i.i.p.PluginManager - Problems found loading plugins:
Plugin 'AI Playground' (intellij.aiplayground) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'Dev Containers' (org.jetbrains.plugins.docker.gateway) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'CSS' (com.intellij.css) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'Data Wrangler' (com.intellij.dataWrangler.plugin) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'Database Tools and SQL' (com.intellij.database) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'Remote Development Gateway' (com.jetbrains.gateway) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'Shared Project Indexes' (intellij.indexing.shared) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'JavaScript and TypeScript' (JavaScript) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'Node.js Remote Interpreter' (org.jetbrains.plugins.node-remote-interpreter) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'Django' (com.intellij.python.django) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'Python' (Pythonid) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'SSH Remote Run' (org.jetbrains.plugins.remote-run) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'Tailwind CSS' (com.intellij.tailwindcss) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'Time Tracking' (com.intellij.tasks.timeTracking) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'FTP/SFTP/WebDAV Connectivity' (com.jetbrains.plugins.webDeployment) requires plugin with id=com.intellij.modules.ultimate to be enabled
Plugin 'Polymer & Web Components' (com.intellij.plugins.webcomponents) has dependency on 'JavaScript and TypeScript' which cannot be loaded
Plugin 'React' (com.intellij.react) has dependency on 'JavaScript and TypeScript' which cannot be loaded
Plugin 'Stylelint' (com.intellij.stylelint) has dependency on 'JavaScript and TypeScript' which cannot be loaded
Plugin 'Vite' (intellij.vitejs) has dependency on 'JavaScript and TypeScript' which cannot be loaded
Plugin 'Webpack' (intellij.webpack) has dependency on 'JavaScript and TypeScript' which cannot be loaded
Plugin 'Less' (org.jetbrains.plugins.less) has dependency on 'CSS' which cannot be loaded
Plugin 'TSLint' (tslint) has dependency on 'JavaScript and TypeScript' which cannot be loaded
Plugin 'Sass' (org.jetbrains.plugins.sass) has dependency on 'CSS' which cannot be loaded
Plugin 'Prettier' (intellij.prettierJS) has dependency on 'com.intellij.modules.javascript' which is not installed
Plugin 'Next.js' (intellij.nextjs) has dependency on 'JavaScript and TypeScript' which cannot be loaded
Plugin 'dbt Support' (org.jetbrains.dbt) has dependency on 'Database Tools and SQL' which cannot be loaded
Plugin 'JavaScript Debugger' (JavaScriptDebugger) has dependency on 'com.intellij.modules.javascript' which is not installed
Plugin 'Shared Indexes for Python' (intellij.python.sharedIndexes) has module dependency 'intellij.indexing.shared.generator' which cannot be loaded or missing
Plugin 'Karma' (Karma) has dependency on 'com.intellij.modules.javascript' which is not installed
Plugin 'PostCSS' (org.intellij.plugins.postcss) has dependency on 'CSS' which cannot be loaded
Plugin 'Styled Components & Styled JSX' (com.deadlock.scsyntax) has dependency on 'CSS' which cannot be loaded
Plugin 'DataSpell Custom Cell' (com.intellij.dataspell.jupyter.customCells) has dependency on 'Database Tools and SQL' which cannot be loaded
Plugin 'PyScript' (com.jetbrains.python.pyscript) has dependency on 'Python' which cannot be loaded
Plugin 'Node.js' (NodeJS) has dependency on 'com.intellij.modules.javascript' which is not installed
Plugin 'JavaScript Intention Power Pack' (JSIntentionPowerPack) has dependency on 'JavaScript and TypeScript' which cannot be loaded
Plugin 'Vue.js' (org.jetbrains.plugins.vue) has dependency on 'JavaScript and TypeScript' which cannot be loaded
Plugin 'Angular' (AngularJS) has dependency on 'JavaScript and TypeScript' which cannot be loaded
2025-10-12 15:27:01,321 [ 1494] SEVERE - #c.i.o.e.i.ExtensionPointImpl - Cannot create extension (class=com.intellij.jupyter.core.core.impl.file.singleFile.JupyterFileSizeLimit) [Plugin: intellij.jupyter]
com.intellij.diagnostic.PluginException: Cannot create extension (class=com.intellij.jupyter.core.core.impl.file.singleFile.JupyterFileSizeLimit) [Plugin: intellij.jupyter]
at com.intellij.serviceContainer.ComponentManagerImpl.createError(ComponentManagerImpl.kt:965)
at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.doCreateInstance(XmlExtensionAdapter.kt:73)
at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.createInstance(XmlExtensionAdapter.kt:33)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapter(ExtensionPointImpl.kt:404)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.createExtensionInstances(ExtensionPointImpl.kt:362)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensionList(ExtensionPointImpl.kt:223)
at com.intellij.openapi.extensions.ExtensionPointName.getExtensionsIfPointIsRegistered(ExtensionPointName.kt:95)
at com.intellij.openapi.extensions.ExtensionPointName.getExtensionsIfPointIsRegistered(ExtensionPointName.kt:90)
at com.intellij.openapi.vfs.limits.FileSizeLimit$Companion.getLimits(FileSizeLimit.kt:79)
at com.intellij.openapi.vfs.limits.FileSizeLimit$Companion.getLimitsByExtension$lambda$0(FileSizeLimit.kt:25)
at java.base/java.util.concurrent.atomic.AtomicReference.updateAndGet(AtomicReference.java:210)
at com.intellij.openapi.vfs.limits.FileSizeLimit$Companion.getLimitsByExtension(FileSizeLimit.kt:25)
at com.intellij.openapi.vfs.limits.FileSizeLimit$Companion.getFingerprint(FileSizeLimit.kt:37)
at com.intellij.platform.ide.IdeFingerprintKt.computeIdeFingerprint(IdeFingerprint.kt:99)
at com.intellij.platform.ide.IdeFingerprintKt.fingerprint$lambda$0(IdeFingerprint.kt:24)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:86)
at com.intellij.platform.ide.IdeFingerprintKt.ideFingerprint(IdeFingerprint.kt:28)
at com.intellij.platform.ide.IdeFingerprintKt.ideFingerprint$default(IdeFingerprint.kt:26)
at com.intellij.platform.ide.bootstrap.ApplicationLoader$loadApp$2$1.invokeSuspend(ApplicationLoader.kt:146)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:613)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:1189)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:778)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:765)
Caused by: java.io.UncheckedIOException: java.io.IOException: Map failed
at com.intellij.util.lang.ZipResourceFile.<init>(ZipResourceFile.java:38)
at com.intellij.util.lang.PathClassLoader.lambda$static$1(PathClassLoader.java:34)
at com.intellij.util.lang.ClassPath.createLoader(ClassPath.java:419)
at com.intellij.util.lang.ClassPath.getLoaderSlowPath(ClassPath.java:370)
at com.intellij.util.lang.ClassPath.findClassWithoutCache(ClassPath.java:245)
at com.intellij.util.lang.ClassPath.findClass(ClassPath.java:233)
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.kt:330)
at com.intellij.ide.plugins.cl.PluginClassLoader.tryLoadingClass(PluginClassLoader.kt:181)
at com.intellij.serviceContainer.ComponentManagerImplKt.doLoadClass(ComponentManagerImpl.kt:1433)
at com.intellij.serviceContainer.ComponentManagerImplKt.doLoadClass$default(ComponentManagerImpl.kt:1429)
at com.intellij.serviceContainer.ComponentManagerImpl.loadClass(ComponentManagerImpl.kt:873)
at com.intellij.openapi.extensions.impl.InterfaceExtensionImplementationClassResolver.resolveImplementationClass(InterfaceExtensionImplementationClassResolver.kt:21)
at com.intellij.openapi.extensions.impl.XmlExtensionAdapter.doCreateInstance(XmlExtensionAdapter.kt:51)
... 23 more
Caused by: java.io.IOException: Map failed
at java.base/sun.nio.ch.FileChannelImpl.mapInternal(FileChannelImpl.java:1127)
at java.base/sun.nio.ch.FileChannelImpl.map(FileChannelImpl.java:1032)
at com.intellij.util.lang.ImmutableZipFile.load(ImmutableZipFile.java:59)
at com.intellij.util.lang.ImmutableZipFile.load(ImmutableZipFile.java:48)
at com.intellij.util.lang.ZipFile.load(ZipFile.java:49)
at com.intellij.util.lang.ZipResourceFile.<init>(ZipResourceFile.java:30)
... 35 more
Caused by: java.lang.OutOfMemoryError: Map failed
at java.base/sun.nio.ch.FileChannelImpl.map0(Native Method)
at java.base/sun.nio.ch.FileChannelImpl.mapInternal(FileChannelImpl.java:1124)
... 40 more
2025-10-12 15:27:01,325 [ 1498] SEVERE - #c.i.o.e.i.ExtensionPointImpl - PyCharm 2025.2.3 Build #PY-252.26830.99
2025-10-12 15:27:01,325 [ 1498] SEVERE - #c.i.o.e.i.ExtensionPointImpl - JDK: 17.0.16; VM: OpenJDK Client VM; Vendor: Raspbian
2025-10-12 15:27:01,326 [ 1499] SEVERE - #c.i.o.e.i.ExtensionPointImpl - OS: Linux
2025-10-12 15:27:01,326 [ 1499] SEVERE - #c.i.o.e.i.ExtensionPointImpl - Plugin to blame: Jupyter version: 252.26830.99
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 16777216 bytes. Error detail: Failed to reserve memory for metaspace
# An error report file with more information is saved as:
# /home/roc/java_error_in_pycharm_9877.log

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/935483.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

面向对象编程实验一

1.实验任务一:**reverse和reverse_copy有什么区别?** 答:reverse和reverse_copy都是将一个容器里的元素倒置,区别在于前者是将倒置后的新序列依旧存储在原来的容器中,而后者是将倒置后的序列放在一个新的容器中,…

ABC 427 EF

E \(BFS\) 求最短路 需要注意到,所有垃圾是作为整体一起移动的,因此可能存在垃圾的所有区域一定是原图的某个子矩阵(子矩阵之外的其他区域至少有过一次出界,说明垃圾已被清除),只有 \(H^{2}W^{2}\) 种。而整张图…

SHA256文件完整性校验

命令行工具 ‌Windows‌: Get-FileHash -Algorithm SHA256 文件路径 或使用certutil命令: certutil -hashfile 文件名 SHA256 ‌ Linux/macOS‌: sha256sum 文件名

基于OpenEuler--docker容器化部署ceph集群 - 实践

基于OpenEuler--docker容器化部署ceph集群 - 实践pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas",…

接口导入 jmeter

1. 浏览器中,选中接口 - 右键 - copy - copy as cURL(bash) 2. bin 目录下启动 jmeter.bat 3. Jmeter 工具栏 - Import from cURL 4. 粘贴从浏览器复制的接口信息,点击 Create Test Plan,接口导入成功。 5. 自定义线…

深入理解MySQL的MVCC(多版本并发控制)实现原理

MySQL的多版本并发控制(MVCC)是一种用于提高数据库并发性能的技术,它允许在不锁定资源的情况下执行读取操作,同时保证事务隔离性。MVCC在InnoDB存储引擎中得到了广泛应用。 MVCC工作原理 1. 隐藏列和行版本控制 In…

Kubernetes环境下Nginx代理Nacos服务请求故障诊断

在Kubernetes环境下,使用Nginx作为代理服务器转发请求到Nacos服务时,可能会遇到各种故障。故障诊断通常需要遵循一定的步骤和方法。检查Nginx配置:确认 nginx.conf中的代理设置是否正确配置了转发规则,包括正确的u…

备考笔记1

计算机组成原理:

2025年新型振动电机厂家权威推荐榜:创新技术与高效性能深度

2025年新型振动电机厂家权威推荐榜:创新技术与高效性能深度在工业4.0和智能制造浪潮的推动下,新型振动电机作为物料筛分、输送、压实等环节的核心设备,正迎来技术革新的关键时期。与传统设备相比,新一代产品在能效…

完整教程:今日面试之快问快答:Redis篇

pre { white-space: pre !important; word-wrap: normal !important; overflow-x: auto !important; display: block !important; font-family: "Consolas", "Monaco", "Courier New", …

SSL/TLS协议如何确保HTTP通信的安全

SSL(Secure Sockets Layer)和TLS(Transport Layer Security)协议是网络安全的基石,它们为HTTP通信提供了一个安全的层次,通常被称为HTTPS。这些协议确保了在客户端与服务器之间传输的数据的机密性和完整性。 以下…

2025钢衬塑储罐厂家最新权威推荐榜:耐腐性能与结构强度双优

2025钢衬塑储罐厂家最新权威推荐榜:耐腐性能与结构强度双优在化工、环保、制药等工业领域,储罐设备的性能直接关系到生产安全与运营效率。钢衬塑储罐凭借其独特的结构优势——外层钢壳提供坚实支撑,内层塑料衬里确保…

2023-网鼎杯web-platfrom

platfrom 大佬wp https://blog.xmcve.com/2024/11/04/%E5%BC%BA%E7%BD%91%E6%9D%AF2024-Writeup/#title-8 https://blog.yemaster.cn/post/123#go-ax-header-4 这题的考点是session反序列化以及字符逃逸 session反序列…

区分iBatis与MyBatis:两个Java数据库框架的比较

iBatis和MyBatis都是流行的Java持久层框架,它们提供了一种将Java对象与数据库表关联的方法。尽管它们在功能上有所重叠,但两者之间存在一些关键差异。 iBatis是最早出现的框架之一,由Clinton Begin开发,并在2002年…

2025大棕拉链厂家权威推荐榜:品质工艺与创新设计深度解析

2025大棕拉链厂家权威推荐榜:品质工艺与创新设计深度解析在纺织辅料行业快速发展的今天,大棕拉链作为连接功能与美学的关键部件,其品质直接影响着服装、箱包等产品的整体价值。随着新材料、新工艺的不断涌现,大棕拉…

JavaScript加密与解密技术:Hook技术应用案例分析

JavaScript中的加密与解密技术是网络安全领域的重要组成部分,它们确保了数据传输的安全性和数据隐私。在Web开发中,经常需要对敏感信息进行加密处理,以防止在客户端与服务器之间传输过程中被第三方截获和篡改。同时…

Oracle数据库创建表空间和索引的SQL语法示例

在Oracle数据库中,创建表空间是一种常见的数据库管理任务,它允许管理员组织和管理数据库中的数据文件。表空间是存储数据的逻辑单元,可以包含一个或多个物理数据文件。索引则用于提高查询性能,它们可以快速定位表中…

NOIP2016普及组port

NOIP2016普及组 T3海港(port) P2058 [NOIP 2016 普及组] 海港 题目背景 NOIP2016 普及组 T3 题目描述 小 K 是一个海港的海关工作人员,每天都有许多船只到达海港,船上通常有很多来自不同国家的乘客。 小 K 对这些到达…

从增长焦虑到经营确定性:巨益OMS业财一体化的实践路径

跨境电商正处在一个“流量见顶、成本抬升、监管趋严”的关键拐点。 过去依靠低价和广告投放的粗放式增长模式,已难以应对复杂的全球经营现实。 区域分化加剧:欧美市场重视品牌与合规,东南亚聚焦性价比与供应链速度。…

Alexa对话式AI技术进展全解析

本文详细介绍了某中心在对话式AI领域的技术突破,包括自然对话交互、自学习系统、多语言支持等核心能力,涵盖了语音识别、语义理解、隐私保护等关键技术模块的实现原理与应用场景。Alexa对话式AI技术进展 在疫情期间,…