Linked Questions

27 votes
2 answers
113k views

Should I run brew or update Java via the Web or some other method?
Joe's user avatar
  • 13.3k
4 votes
0 answers
14k views

I am trying to install Java version 8 on my MacOS. The installation guideline advises typing this command: sudo update-alternatives --install /usr/bin/java java /usr/lib/java/JDk.../bin/java But it ...
Newcomer's user avatar
393 votes
31 answers
850k views

I'm extracting this PDF's text using the PyPDF2 Python package (version 1.27.2): import PyPDF2 with open("sample.pdf", "rb") as pdf_file: read_pdf = PyPDF2.PdfFileReader(...
Simplicity's user avatar
  • 49.4k
397 votes
27 answers
356k views

I've installed JDK 7u7 downloaded from oracle's website. But after installation, the terminal is still showing java version 6 $java -version java version "1.6.0_35" Java(TM) SE Runtime Environment (...
Yang's user avatar
  • 9,992
144 votes
42 answers
466k views

I'm trying to run PySpark on my MacBook Air. When I try starting it up, I get the error: Exception: Java gateway process exited before sending the driver its port number when sc = SparkContext() is ...
mt88's user avatar
  • 3,065
109 votes
16 answers
219k views

I would like to use the WatchService API as mentioned in this link: http://download.oracle.com/javase/tutorial/essential/io/notification.html After reading around, I found out that WatchService is ...
oky_sabeni's user avatar
  • 7,822
108 votes
11 answers
124k views

I'm trying to install Spark on my Mac. I've used home-brew to install spark 2.4.0 and Scala. I've installed PySpark in my anaconda environment and am using PyCharm for development. I've exported to my ...
shbfy's user avatar
  • 2,143
70 votes
3 answers
128k views

We are planning to migrate our Java 8 project to use Java 11. But I noticed that Java 11 doesn't have a JRE folder. In Java 9 and Java 10, folder structures are changed i.e. java\jdk1.x or java\jre1.x,...
Maha Lak's user avatar
  • 835
55 votes
9 answers
55k views

On Ubuntu 16.04, I installed scala: $ls ~/Binary/scala-2.11.8 bin doc lib man $grep -A 2 SCALA ~/.bashrc SCALA=~/Binary/scala-2.11.8 SBT=~/Binary/sbt export PATH=$PATH:$SCALA/bin:$SBT/bin With ...
Kevin Meredith's user avatar
28 votes
13 answers
73k views

I'm trying to install Eclipse, but I can't get the installer to start. It fails with "Failed to create the Java Virtual Machine" How can I resolve this? Note: I'm on Mac.
Brad Parks's user avatar
  • 73.3k
34 votes
5 answers
45k views

At the moment Java 8 is still required for some apps like: Android SDK / Android Studio Jenkins Ionic ... With brew install java the latest Version is installed. But how to install Java 8?
d0x's user avatar
  • 11.7k
20 votes
3 answers
13k views

I am not able to do anything anymore. I keep getting the error Error: Unknown command: cask even though I have previously used a lot of different installations from this link: Homebrew cask option not ...
Marchewek's user avatar
  • 211
26 votes
6 answers
5k views

I got warn message Could not get package info. Failed to connect to https://packagist.org/packages/list.json: java.lang.RuntimeException: Could not generate DH keypair Please check your internet ...
Tek Yin's user avatar
  • 3,060
21 votes
5 answers
35k views

How to connect Visual Studio Code on mac with Team Foundation Server(TFS). Or any other way to connect with tfs?
Pritish's user avatar
  • 2,224
8 votes
4 answers
21k views

I have opened it as an administrator and I don't want to install anything unnecessary. When I tried to open Android Device Monitor through Android Studio: Tools > Android > Android Device Monitor. It ...
RYAN's user avatar
  • 155

15 30 50 per page