AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

    • 主页
    • 系统&网络
    • Ubuntu
    • Unix
    • DBA
    • Computer
    • Coding
    • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[intellij](ubuntu)

Martin Hope
Esi
Asked: 2020-10-02 01:13:20 +0800 CST

PyCharm 和 Intellij 占用了这么多空间 [重复]

  • 0
这个问题在这里已经有了答案:
两个不同版本的 GNOME 运行时 2 个答案
1 年前关闭。

我正在尝试释放我的 Ubuntu 分区上的一些空间,并且我已经删除了大量的冗余资源,例如缓存和日志日志。现在 /snap 上的两个目录引起了我的注意:/snap/intellij-idea-community 和 /snap/pycharm-community。在每个文件夹中都有两个大小几乎相同的文件夹,以及一个名为“current”的快捷方式:

在此处输入图像描述

在此处输入图像描述

如图所示,这两个程序总共占用了 3.8 GB 的空间。我认为它们是同一程序的两个不同版本(因为大小相似)但是当我尝试使用sudo mv命令将其中一个移动到另一个目录时,它说:

mv: cannot move '249' to '/home/esra/Desktop/249': Device or resource busy

/pycharm-community 中的两个目录也是如此。它们真的属于同一个版本吗?如果我删除其中一个,我会搞砸我的 IDE 吗?如果没有,为什么我不能将它们中的任何一个移到其他地方?

disk-usage pycharm intellij
  • 1 个回答
  • 935 Views
Martin Hope
Igor
Asked: 2020-04-28 06:43:20 +0800 CST

Ctrl + Alt + F10 在 Ubuntu 18.04 上有什么作用?

  • 6

我有 Intellij Idea,它有自己的快捷键绑定到Ctrl++ ,在我的AltUbuntuF10上按下这些键后,我得到了一些奇怪的屏幕停电。

我只能在按Super+后切换回我的屏幕F2。

这个组合键有什么作用?我怎样才能禁用它?

shortcut-keys intellij
  • 2 个回答
  • 14114 Views
Martin Hope
Shahzad Akram
Asked: 2020-04-12 10:35:14 +0800 CST

使用 Android Stuido 和 IntelliJ Idea 时 Ubuntu 18.04 滞后

  • 0

我使用的是 Ubuntu 19.10,它运行良好,出于某些原因,我决定降级到 18.04 LTS,它在开始时也运行良好,但自从我在使用 Android Studio 或 IntelliJ Idea 时遇到随机滞后一周以来。也许我已经安装了任何导致这种情况的程序,但我不知道。我有一个非常好的系统 Corei9 12 核 16gb ram 我也增加了堆大小但徒劳无功。目前,我没有重新安装操作系统的状态。在使用 Android Studio 或 IntelliJ Idea 时,它会随机延迟 4.5 秒。在此期间,完整的 UI 会冻结,声音停止,光标停止等......我没有任何图形驱动程序问题,因为我使用的是内置的英特尔高清显卡。任何诊断此问题的方法我都不知道为什么会这样。

这是free -h

                  total        used        free      shared  buff/cache   available
    Mem:            15G        2.0G        7.2G        826M        6.4G         12G
    Swap:            0B          0B          0B

和sysctl vm.swappiness

vm.swappiness = 60

grep -i 交换 /etc/fstab

/swapfile                                 none            swap    sw              0       0
android-studio intellij 18.04
  • 1 个回答
  • 267 Views
Martin Hope
Jim
Asked: 2019-12-30 06:21:41 +0800 CST

运行 apt-get install 后我找不到 JavaFX jar 文件。我什至认为他们没有安装

  • 0

我正在尝试在 IntelliJ 上构建 JFX 应用程序。我使用以下命令安装了 JavaFX:

sudo apt-get install openjfx

我找到了我应该添加jfxswt.jar到jfxrt.jar类路径的地方。我在find根目录上运行了该命令,但没有找到任何一个文件。

编辑:
apt policy openjfx输出:

openjfx:
  Installed: 11.0.2+1-1~18.04.2
  Candidate: 11.0.2+1-1~18.04.2
  Version table:
 *** 11.0.2+1-1~18.04.2 500
        500 http://jo.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
        100 /var/lib/dpkg/status
     8u161-b12-1ubuntu2 500
        500 http://jo.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

编辑2:
dpkg -L openjfx输出:

/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/openjfx
/usr/share/doc/openjfx/TODO.Debian
/usr/share/doc/openjfx/changelog.Debian.gz
/usr/share/doc/openjfx/copyright
/usr/share/openjfx
/usr/share/openjfx/lib
/usr/share/openjfx/lib/javafx.properties
/usr/share/openjfx/lib/javafx.base.jar
/usr/share/openjfx/lib/javafx.controls.jar
/usr/share/openjfx/lib/javafx.fxml.jar
/usr/share/openjfx/lib/javafx.graphics.jar
/usr/share/openjfx/lib/javafx.media.jar
/usr/share/openjfx/lib/javafx.swing.jar
/usr/share/openjfx/lib/javafx.web.jar

编辑3:
ls /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/输出:

accessibility.properties  ext                                jvm.hprof.txt         resources.jar
amd64                     flavormap.properties               logging.properties    rt.jar
calendars.properties      hijrah-config-umalqura.properties  management            security
charsets.jar              images                             management-agent.jar  sound.properties
classlist                 jar.binfmt                         meta-index            swing.properties
cmm                       jce.jar                            net.properties        tzdb.dat
content-types.properties  jexec                              psfontj2d.properties
currency.data             jsse.jar                           psfont.properties.ja
java intellij 18.04 javafx
  • 1 个回答
  • 1499 Views
Martin Hope
bdeniker
Asked: 2019-11-08 07:50:11 +0800 CST

无法登录 JetBrains Toolbox

  • 3

运行 Ubuntu 18.04.3,虽然使用 KDE,但我在登录JetBrains Toolbox时遇到了很多麻烦(这样我就可以添加我的许可证并安装非免费产品)。

当我进入设置并单击登录时,Chrome(我的默认浏览器)会尝试打开链接(https://account.jetbrains.com/oauth2/signin?login_challenge={hash}),这会立即将我重定向到一个页面,上面写着:

哎呀!出问题了。看起来您复制并粘贴了链接,它无法正常工作。
请使用您在网站/应用程序上的上一步重试或重新开始。

我发现最近的 JetBrains 问题似乎与我的经验相同,但唯一的建议是将我的默认浏览器重置为 Edge 或 Safari 以进行登录,具体取决于我使用的操作系统。我只有 Firefox 和 Chrome 可用,并且两者都被提及为人们遇到此问题的浏览器,但我尝试在两者中打开初始 URL 以达到相同的效果。

firefox google-chrome intellij
  • 1 个回答
  • 1069 Views
Martin Hope
Pranav
Asked: 2019-08-02 03:26:46 +0800 CST

如何在 Intellij IDEA 中链接 Tomcat 服务器配置?

  • 1

在Java类中,我的先生告诉我链接Xampp 文件夹内的Tomcat服务器配置。但是他的操作系统是 Windows,自从我使用 Ubuntu 19.04 以来,我的情况有所不同。我从他们的官方网站安装了“ xampp-linux-x64-7.3.7-1-installer.run ” 。

但不幸的是,在我的先生 Windows 操作系统中没有这样的“ Tomcat ”文件夹。

所以我使用“ sudo apt install tomcat9 ”安装了Tomcat,假设它是最新的稳定版本。

我去 Intellij 添加 Tomcat 的本地服务器配置,并显示路径“ /etc/tomcat9 ”,但 IDE 显示“找不到应用程序服务器库”,如下面的屏幕截图所示:

错误截图

该怎么办?我错过了什么?需要帮助。

configuration java tomcat intellij 19.04
  • 1 个回答
  • 4648 Views
Martin Hope
Darrel Holt
Asked: 2019-07-24 14:06:10 +0800 CST

intellij 嵌入式终端与 byobu 共享缓冲区

  • 1

我用它来制作它,所以 Byobu 在终端启动时运行。但是,当我在 IntelliJ 中打开嵌入式终端时,它会执行相同的操作并使用相同的缓冲区。这导致嵌入式终端看起来像这样: 在此处输入图像描述

我的常规终端如下所示: 利杰

无论您修改哪个,可视区域的文本和大小都是相同的,因此它们肯定使用相同的缓冲区。

有没有办法让 IntelliJ 中的嵌入式终端不打开 Byobu?_byobu_sourced也许在检查调用它的实体的线路设置上存在某种条件?

编辑:这在技术上属于 AskDifferent,因为我在 Mac 上这样做,但这个想法仍然适用于 Ubuntu 和 Mac。此外,AskUbuntu 上的用户更有可能遇到此问题,因为使用 Byobu 的 Ubuntu 用户比 Mac OS 用户多得多。由于这种差异,您的情况可能会略有不同。

command-line byobu intellij
  • 1 个回答
  • 338 Views
Martin Hope
Developus
Asked: 2019-04-22 11:09:11 +0800 CST

Intellij、Postman 和 curl - 无法识别端口 8080 上的 localhost

  • 0

我在 Scala 中有一个简单的休息服务器。通过 intellij 运行这个项目localhost:8080。我试图通过邮递员和 curl 向该服务器发送POST或GET请求,但它无法连接它,不知道为什么。我 ping 了 localhost 并且它回答了,但是应用程序运行的 localhost:8080 仅加载,仅此而已。我运行 intellij 并启动我的服务器(scala、cats、Blaze)。昨天一切正常,但今天却不行。我查看了 intellij 日志,它们看起来不错:

2019-04-21 19:29:08,912 [14101080]   INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS) 
2019-04-21 19:29:08,919 [14101087]   INFO - j.compiler.server.BuildManager - Using preloaded build process to compile /home/project 
2019-04-21 19:29:11,565 [14103733]   INFO - lij.compiler.impl.CompilerUtil -    COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 2662 ms: 0 min 2sec 
2019-04-21 19:29:11,565 [14103733]   INFO - s.CompilerReferenceServiceBase - backward reference index reader doesn't exist 
2019-04-21 19:29:12,358 [14104526]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /home/intellij/idea-IU-183.5912.21/lib/jps-launcher.jar:/usr/lib/jvm/java-1.11.0-openjdk-amd64/lib/tools.jar:/home/intellij/idea-IU-183.5912.21/lib/optimizedFileManager.jar 
2019-04-21 19:29:12,419 [14104587]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 
2019-04-21 19:29:12,419 [14104587]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation 
2019-04-21 19:29:12,419 [14104587]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 
2019-04-21 19:29:14,496 [14106664]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: An illegal reflective access operation has occurred 
2019-04-21 19:29:14,496 [14106664]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: Illegal reflective access by com.google.protobuf.UnsafeUtil (file:/home/intellij/idea-IU-183.5912.21/lib/protobuf-java-3.4.0.jar) to field java.nio.Buffer.address 
2019-04-21 19:29:14,496 [14106664]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: Please consider reporting this to the maintainers of com.google.protobuf.UnsafeUtil 
2019-04-21 19:29:14,496 [14106664]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations 
2019-04-21 19:29:14,496 [14106664]   INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: WARNING: All illegal access operations will be denied in a future release 

一切都很好。我不知道问题可能出在哪里。我也尝试在邮递员中打开代理,但没有帮助。清除了intellij中的缓存,没有任何帮助。我正在使用最新的 Ubuntu。有没有人有同样的问题并且知道如何解决它?也许这是一个愚蠢的问题,但我真的不知道会发生什么。

编辑8080我用这个命令 检查了是否有其他东西使用端口: netstat -tulpn | grep 8080,但我只得到一个结果:

tcp6 0 0 127.0.0.1:8080 :::*LISTEN 18125/java. 看起来只有我正在运行的应用程序正在使用此端口。

networking intellij 18.04 scala curl
  • 1 个回答
  • 1101 Views
Martin Hope
Roberto Morávia
Asked: 2019-02-08 01:29:29 +0800 CST

无法从 Intellij 打开链接:“错误 KIO 客户端:无法创建 io-slave。无法创建用于启动协议 'https' 的 io-slave 的套接字。”

  • 9

由于我切换到--classicIntellij 的 snap 版本 ( ),我无法从此应用程序打开任何外部链接(到网站)。每当我单击链接时,都会收到以下错误:

错误 - KIO 客户端

无法创建 io-slave。无法为协议“https”创建用于启动 io-slave 的套接字。

版本:

  • Ubuntu 18.04.1 LTS
  • KDE 框架 5.44.0
  • Qt 5.9.5(针对 5.9.5 构建)
  • 快照 2.37.1.1+18.04
  • 快照 2.37.1.1+18.04
  • 系列 16
  • Ubuntu 18.04
  • 内核 4.15.0-45-generic
kde intellij snap
  • 1 个回答
  • 7178 Views
Martin Hope
LuminousNutria
Asked: 2019-01-12 17:49:02 +0800 CST

如何在 IntelliJ IDEA 中使用 Monaco Linux True Type 字体?

  • 2

IntelliJ IDEA(2018.3.3 版)看不到我安装的 Monaco Linux 字体,尽管所有其他程序都可以。我已经尝试使用这个问题中的解决方案,但它们要么不起作用,要么很危险(破坏 Ubuntu 14 中的字体),要么适用于其他系统。

如何让 IntelliJ 使用我想要的字体?

fonts intellij 18.04
  • 1 个回答
  • 1831 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助
subwaysurfers
my femboy roommate

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve