linux-mint

Can't Select Home Directory for JDK because IntelliJ can't see it?

故事扮演 提交于 2020-01-11 10:41:44
问题 My system is Linux Mint 18.3 Cinnamon 64-bit. I've installed IntelliJ-IDEA and Default-jdk (openjdk-8-jdk) using the software manager. I can see what I believe to be the JDK folder under either /usr/lib/jvm/java-1.8.0-openjdk-amd64 or /etc/java-8-openjdk when browsing with the file manager (Nemo) or the terminal. But it doesn't matter because IntelliJ can't see either folder anyway. In fact, when trying to Select Home Directory for JDK , IntelliJ only seems to have visibility to 14 sub

Can't Select Home Directory for JDK because IntelliJ can't see it?

◇◆丶佛笑我妖孽 提交于 2020-01-11 10:41:35
问题 My system is Linux Mint 18.3 Cinnamon 64-bit. I've installed IntelliJ-IDEA and Default-jdk (openjdk-8-jdk) using the software manager. I can see what I believe to be the JDK folder under either /usr/lib/jvm/java-1.8.0-openjdk-amd64 or /etc/java-8-openjdk when browsing with the file manager (Nemo) or the terminal. But it doesn't matter because IntelliJ can't see either folder anyway. In fact, when trying to Select Home Directory for JDK , IntelliJ only seems to have visibility to 14 sub

How to make browser window to run in background when running JUnit with Selenium WebDriver from IntelliJ Idea?

拈花ヽ惹草 提交于 2020-01-04 03:28:10
问题 I am running automation tests on Selenium WebDriver as JUnit tests from IntellijIdea. When a browser opens and some actions are being done in it then it always brings itself to the front, even if I have tab-ed to other window. This is not very convenient. Some tests run for few minutes and I would like to be able to work on some other tasks while they are running. Or in case if I want to run the whole suite I can't just sit and watch for 30 minutes. I started to have this problem after I

installing Freeglut on Linux

喜夏-厌秋 提交于 2020-01-02 06:20:32
问题 I am trying to install freeglut on my computer running Linux Mint. I follow the steps on this website: http://freeglut.sourceforge.net/docs/install.php. When I do make all in the src directory, it gives the following error: fatal error: GL/gl.h This error was given by ../include/GL/freeglut_std.h. Upon inspection, the include/GL directory is indeed devoid of any gl.h file. It is also missing glu.h, which freeglut_std.h also tries to #include . What should I do about this? Why are gl.h and glu

What's wrong with my typescript compiler? `tsc --version` returns nothing

吃可爱长大的小学妹 提交于 2020-01-02 02:35:07
问题 In Linux Mint, I've installed node and used it to install typescript. With a working typescript installation, tsc --version should return the version number. In my case, nothing is returned at all. When I run which tsc the result is /usr/local/bin/tsc . When I run cat /usr/local/bin/tsc the result is: #!/usr/bin/env node require('../lib/tsc.js') When I run find /usr/local -name 'tsc*' the result is: /usr/local/bin/tsc /usr/local/lib/node_modules/typescript/bin/tsc /usr/local/lib/node_modules

Virtualbox install on Linux Mint 19 Tara

匆匆过客 提交于 2019-12-31 07:03:12
问题 I tried to install Virtualbox on linux Mint version 19, Code name : Tara, PackageBase : Ubuntu Bionic Cinnamon (64-bit) Reference link Downloaded this version of linux from above reference link- VirtualBox 5.2.18 for Linux Ubuntu 18.04 / Debian 10 AMD64 First ran the command: sudo apt-get update and then tried below command xxxxxxxxxx:~/Downloads$ sudo dpkg -i virtualbox-5.2_5.2.18-124319_Ubuntu_bionic_amd64.deb (Reading database ... 273616 files and directories currently installed.)

Virtualbox install on Linux Mint 19 Tara

若如初见. 提交于 2019-12-31 07:03:10
问题 I tried to install Virtualbox on linux Mint version 19, Code name : Tara, PackageBase : Ubuntu Bionic Cinnamon (64-bit) Reference link Downloaded this version of linux from above reference link- VirtualBox 5.2.18 for Linux Ubuntu 18.04 / Debian 10 AMD64 First ran the command: sudo apt-get update and then tried below command xxxxxxxxxx:~/Downloads$ sudo dpkg -i virtualbox-5.2_5.2.18-124319_Ubuntu_bionic_amd64.deb (Reading database ... 273616 files and directories currently installed.)

Can't install R packages on Linux Mint 17

社会主义新天地 提交于 2019-12-30 10:12:27
问题 Running R 3.1.2 on Linux Mint 17, I get a non-zero exit status when I try to install popular packages. The full output of an example install.packages attempt is as follows: > install.packages("plyr") Installing package into ‘/home/joe_kendrick/R/x86_64-pc-linux-gnu-library/3.1’ (as ‘lib’ is unspecified) trying URL 'http://cran.rstudio.com/src/contrib/plyr_1.8.1.tar.gz' Content type 'application/x-gzip' length 393233 bytes (384 Kb) opened URL ==================================================

avrdude: ser_open(): can't open device “/dev/ttyACM0”: Device or resource busy

无人久伴 提交于 2019-12-30 01:02:35
问题 I am Linux Mint user.I am dealing with Arduino Yun.I am compiling Arduino program.After that I am uploading to Arduino Yun.Then I get these error.Can you help me? 回答1: you first need to make sure you have the correct read/write rights, as described here, esentially enter following commands: $ sudo adduser <username> dialout $ sudo chmod a+rw /dev/ttyACM0 the '/dev/ttyACM0' is the port your arduino is connected to, it should be listed in the /dev folder of your root. second: after you have

Scripts launched from udev do not have DISPLAY access anymore?

荒凉一梦 提交于 2019-12-29 05:19:26
问题 I have a script that runs from udev when I plug in my external drive. It always worked. But after upgrading from Linux 3.8/Xorg 1.12/Mint 14 ( Ubuntu 12.10 compatible) to Linux 3.11/Xorg 1.14/Mint 16 ( Ubuntu 13.10 compatible), it doesn't work anymore. The script still runs, but none of the commands that require the display work. I figured that out by quitting the udev daemon and manually run udevd --debug for verbose output (more below). This script used to work in Mint 14/12.10 : export