Questions tagged [java]

Widely-used object-oriented programming language, emphasizing portability. Questions about programming with Java are off topic and should be asked on stackoverflow.com.

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

Eclipse install error in Windows 10 x64

Can anyone help me figure out what results in this error while I am trying to install Eclipse on my machine? It never gave me such errors before on the same exact machine. [2019-09-22 22:04:41] ...
Ankur Mitra's user avatar
0 votes
0 answers
433 views

Java jar crashes when it tries to load a window, no error message

Whenever I run a Java application that has a user interface, it crashes as soon as the window opens. The window is blank white with no content and shown for about 100 milliseconds. There are no error ...
quintin's user avatar
0 votes
1 answer
276 views

Access Denied_Just Install MySQL

it's been 2 days and I still can't figure out why my I can't connect to MySQL on my command line. I am on a Mac and installed MySQL 8.0.17, Connect J 8.0.17 and Workbench 8.0.17. I need MySQL to ...
user avatar
1 vote
0 answers
47 views

OMNEST used to work fine but for the last few days it showed java heap space error [closed]

My OMNEST was working fine for many years until the last few days when it showed error about java heap space. I listed below some errors that I saw 1. An internal error occurred during: "...
Gaza's user avatar
  • 11
4 votes
0 answers
7k views

Can't join LAN game in Civilization 6

Few days ago I was able to play Civilization VI through LAN (Offline on Steam) without any problems, but after Windows Update (installed 9/14/2019) I don't see any games in LAN. On 9/14/2019 I also ...
Albrt's user avatar
  • 41
0 votes
1 answer
545 views

Unable to use Java 9's HttpClient in a SpringBoot-Maven server

I wanted to use Java 9 's HttpClient in my SpringBoot application. So I wrote the code for HttpClient in IntelliJ in a Maven project. The packages/module jdk.incubator.httpclient.* was automatically ...
lakhansoren's user avatar
0 votes
1 answer
60 views

slightly changing path used inside a batch file

Follow this please using path from registry in a batch file Code: for /f "tokens=2*" %%a in (' REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Web Start\1.0.1" /v Home') do set JavaPath=%%b ...
yash's user avatar
  • 13
0 votes
1 answer
519 views

Tomcat server is not detecting JARs

I am running a Tomcat server for my project. I kept my required JARs in ROOT/WEB-INF/classes. But when I start my server and send some requests, I am getting classNotFoundExceptions. Although, when I ...
Aravind Shankar's user avatar
1 vote
1 answer
3k views

using path from registry in a batch file

I am pretty new to registry and batch files editing. I want to replace path C:\PROGRA~2\Java\jre8\bin inside my batch file to a more generic path so that each time I don't have to modify the path and ...
yash's user avatar
  • 13
1 vote
1 answer
5k views

Uninstall openJDK 12

I need to replace JDK 12 with JDK 8. However, I cannot figure out how to uninstall it. I searched a lot through the internet and everywhere they recommend just to use the common uninstall via apps. ...
oleksii.sapov-erlinger's user avatar
-1 votes
1 answer
305 views

Can't run applications made with java jdk12

I used to write my applications with jdk 8. I upgraded to jdk 12 but my jre seems to be still on 1.8. I tried to find the official download site for jre 12, but it always redirects to the 1.8. After ...
Paul Erlenmeyer's user avatar
1 vote
1 answer
2k views

Failure to verify dex file

Generated a signed apk but it force close everytime, but i can run the app from android studio. please tell me the solution hERE IS THE CODE. time: 1568046689417 device fp:xiaomi/whyred/whyred:9/PKQ1....
Jai Jai's user avatar
  • 11
1 vote
1 answer
55 views

Java newbie, I can't select Java type of project

I want to use JUST Java category project, but NetBeans keeps showing me Java with Maven or Java with Gradle or Java with Ant. Where do I find the pure Java category?
SPQR's user avatar
  • 11
0 votes
2 answers
922 views

OpenJDK 11 missing default localization

I have a problem with a Java Swing application I wrote. Since JDK8 there were always standard localization texts for all the Swing components. These were chosen by the locale set in the Java ...
mrdlink's user avatar
  • 101
0 votes
1 answer
303 views

Camel logging every line of stack trace on OctaneSdkException

I have a problem with camel logs; it is on a particular exception. Every time com.impinj.octane.OctaneSdkException is thrown camel starts to timestamp every single line of the stack trace. 2019-07-31 ...
Twinsed's user avatar
2 votes
1 answer
2k views

Netbeans 11 Cannot Add JDK 7

I have installed Apache Netbeans 11.1 and JDK 12 to try it out. After installation I tried installing some plugins (some are failing to activate for some reason) and then tried adding my JDK platforms....
jmhg92's user avatar
  • 61
0 votes
2 answers
6k views

Flutter/Android SDK with Java 8

Setting up my mac for local flutter development. I did all steps as mentioned in the guide, installed Android Studio and also updated the sdks. Here is what my flutter doctor -v says: user$ flutter ...
Killer Beast's user avatar
1 vote
0 answers
1k views

Apache Tomcat server in netbeans 11

I currently switched on netbeans 11.0 from netbeans 8 during installation i can find a option to add apache tomcate server . Then i tried to add server but i have to download server manually from net ...
Nayan Mogra's user avatar
0 votes
1 answer
1k views

Mouse doesn't switch to android device when using deskdock android app

https://forum.xda-developers.com/android/apps-games/app-deskdock-missing-link-computer-t3447035 I wanted to use deskdock to control my phone with my laptops keyboard and mouse and deskdock seemed ...
ra314's user avatar
  • 41
0 votes
1 answer
862 views

Tomcat crashed with unexpected error

Tomcat server crashed with the unexpected error detected by the java virtual machine. And hs_err_pid.log file was also generated during the crash. hs_err_pid log file captured 'V [libjvm.so+...
Kaushik's user avatar
  • 13
2 votes
1 answer
468 views

puppet module not doing anything

I successfully installed the puppetlabs java module using command puppet module install puppetlabs-java. I created a puppet module using command puppet module generate ... I have two manifest files ...
arnonuem's user avatar
  • 131
2 votes
0 answers
576 views

Windows gradle build failed

I am trying to compile this code from Github (https://github.com/CCAFS/csa_compendium). I downloaded gradle. When I try to run it from the command line, I get the following error: Could not create ...
Helena's user avatar
  • 21
-1 votes
1 answer
296 views

error Invoke error method not found android

my code: (Delphi tokio - Platform android) procedure TfrmPrincipal.Button3Click(Sender: TObject); var reader : JNBioBSPJNI; serial : string; begin try serial:='010701-613E5C7F4CC7C4B0-...
Antonio Barbosa's user avatar
0 votes
1 answer
91 views

When I open Java, .jar files are not opened

I have installed the latest version of Jave, but when I run it, the command line screen comes and goes immediately. I am using Windows 10. What can I do to fix this?
user1080666's user avatar
1 vote
0 answers
361 views

Attempting to install rJava on R 3.6.1 but having trouble configuring R with Java support

I'm trying to install rJava in R 3.6.1 on Ubuntu 18.04. I've searched for similar questions but the answers provided don't seem to have worked for me. I initially tried sudo apt install r-cran-rjava ...
TJ001's user avatar
  • 11
0 votes
1 answer
35 views

What is the left panel called in mxGraph?

I am working on a network graph simulator using mxGraph and java. The problem is that I want to remove the left panel from the GUI. There is a option to hide/show but I wanted it hidden as default. ...
Kazi Srabon's user avatar
0 votes
0 answers
121 views

.jar File won't work for some reason

I wrote and compiled a java program and the resulting files are (HelloWorldSwing.java), (HelloWorldSwing.class) & (HelloWorldSwing$1.class) as shown in the image The files are in a package called ...
The Feadow's user avatar
1 vote
0 answers
376 views

gRPC ERROR while running

I am creating a gRPC project and run, after several times running I am getting this error.  The error number (in the first line) is not consistent.  It will be "grpc-default-executor-0" one time, then ...
Taner's user avatar
  • 11
1 vote
0 answers
339 views

How to run a Windowed JAR file over SSH without installing JRE and without root access on NetBsd?

First, I can use Java, but for what I want to achieve (building a database where othe only application supporting the format is in Java), I need 100Gb of RAM during 20 hours. I have access to a ...
user2284570's user avatar
  • 1,843
1 vote
1 answer
11k views

How to get access to the WEB-INF/views/some.jsp? spring mvc

I successfully deployed my webapp to the Tomcat localhost. My app has 2 pages: localhost:8080/spring-mvc and localhost:8080/home. The first page has a link to the second. When I start my app, it ...
Nikolai Stoliarenko's user avatar
0 votes
1 answer
1k views

Minecraft wont launch (framebuffer object)

Good evening, as the title says there is a small issue with minecraft, due to other problems I got to use an pretty old computer which should easily run minecraft. I also got the crash report ...
Steven Vetter's user avatar
1 vote
0 answers
59 views

Multitouch interaction compiled on Linux system with a on/board pc

I assume something is wrong in my setup but can't figure out what it is. I'm on Intel core i7 board with Waveshare touch screen. As Operating system I tried Lubuntu, Ubuntu 18.04, Ubuntu 19.04 and ...
Shachar Oz's user avatar
0 votes
1 answer
814 views

Change Registry Value for Specific Application Lifecycle Only

Is it possible to override the value of an arbitrary Windows registry key for a specific application lifecycle? My hope is that a temporary registry value can be set with the command line, so that I ...
TiberiumFusion's user avatar
1 vote
1 answer
6k views

Java Runtime Environment (JRE) not found (linux ubuntu)

I just install java following the easy to follow guide: https://www.java.com/en/download/help/linux_x64_install.xml. So by step I: 1) Downloaded jre-8u221-linux-x64(1).tar.gz from my browser (...
Martetine Wilfred's user avatar
0 votes
1 answer
169 views

Error loading native library: Unable to load library 'msvcr120' R NetLogo

I am getting the following error, which I believe to be with nlrx, because the model will run in NetLogo now that the R extension from NetLogo issues have been worked out. The r.jar and jna-4.2.2.jar ...
jjhold's user avatar
  • 3
-1 votes
1 answer
837 views

How to Use 3rd Party JAR in Java Project

I'm working on a basic Java project to make me more comfortable with the language (I've just started learning), and have come across a problem when trying to use a 3rd party library - I'm trying to ...
JAUER's user avatar
  • 1
2 votes
0 answers
387 views

How to run bundletool, aapt2

I have been reading Build your .aab using bundletool recently, and downloaded bundletool and aapt2 tools as per guidance provided. But, I'm having problem running both tools. I tried to run bundletool ...
Bùi Văn Thủ's user avatar
0 votes
0 answers
336 views

How to set the JAVA_HOME correctly?

I have upgraded my Eclipse from Mars to the current version and installed Java 1.12 (previously 1.8). I'm trying to run an Ant script which calls on <javac destdir="${build.dir}" includeantruntime=...
SK19's user avatar
  • 101
0 votes
1 answer
149 views

TeamCity administration website not reachable

I am new to TeamCity and I was trying to get it up and running on CentOS server. I am having issues with the control website to showup. Following are the steps I have taken to setup TeamCity. I have ...
Daniel's user avatar
  • 125
0 votes
1 answer
76 views

Installing M2DOC

I need install M2DOC for using Office Open XML language (OOXML). The guide at url : http://obeonetwork.github.io/M2Doc/download/ say that: To install M2Doc on Obeo Designer: = Download an Obeo ...
Feel's user avatar
  • 1
2 votes
2 answers
19k views

TP-Link Omada Controller - Cannot find any VM in Java Home /usr/lib/jvm/default-java

I have small problem. Today I'm trying to setup Omada Controller (same as UniFi Controller) on my RaspBerry Pi 3. Everything looks good, but when I'm trying to start the controller, it shows this ...
Jakub Samek's user avatar
0 votes
1 answer
848 views

Faild to create a db connection etween NetBeans and sql server

I have tried to connect the netbeans to sql server my sql server name is: BELL\BELLISQLSERVER and the user name is: BELL\1 I saw many tutorials but every time I've got the same error massage it ...
בלה פלוטקין's user avatar
1 vote
2 answers
367 views

Terminal uses Java 7 when Java 8 is installed OSX

I am trying to figure out why when inputting the java -version will give me Java 1.7, when the Java Control Panel says I'm running java 1.8, latest update as well. I don't know how to check for ...
Sage M's user avatar
  • 11
3 votes
1 answer
4k views

Maven CLI does not recognize JAVA_HOME as correctly configured

This is the output even though it correctly points to the JDK C:\Users\{usr}>mvn -version The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run ...
SwiftBlade95's user avatar
0 votes
1 answer
2k views

Raspberry PI + Aarch64 + openjdk11

I need to use openjdk11 on aarch64 architecture/ Raspberry Pi 3 64bit Debian. uname -a Linux raspberrypi 4.14.34-v8+ #1 SMP PREEMPT Tue Apr 17 02:45:42 PDT 2018 aarch64 GNU/Linux I downloaded from ...
RRR's user avatar
  • 3
0 votes
0 answers
394 views

How to change the default white titlebar of a SWT Window

I'm creating a program thats shoud be dark if the windows appearance settings is set to dark. I'm using SWT from eclipse
user avatar
0 votes
1 answer
735 views

Sending Command Line Arguments in Eclipse on Mac

I'm using the Eclipse IDE for a Java 8 project I have started and want to send command line arguments. I am using a Mac desktop and the way Windows runs Eclipse is a little bit different than Mac so ...
Christian's user avatar
0 votes
0 answers
3k views

Java (JRE 1.7.45) not working Internet Explorer 11 and webtop 6.7 applets

I can't get Java to work on IE 11 for an intranet site (Documentum Webtop 6.7), so far I've: Enable Java in browser in Java Control Panel. Set security to medium in Java Control Panel. On user tab ...
Allende's user avatar
  • 263
3 votes
1 answer
7k views

RHEL choosing java with alternatives without --config

A machine on which there is already the following packages installed: java-1.7.0-openjdk java-1.7.0-openjdk-headless I have also then installed java-1.8.0-openjdk-headless via yum. When installing ...
gratz's user avatar
  • 161
1 vote
0 answers
5k views

Hibernate 5.4.3 Exception in thread "main" org.hibernate.internal.util.config.ConfigurationException

Ive looked into similar solutions and none worked for me. Hoping I could find some answers here... Using Eclipse JEE (JDK 12) These is the errorlist i get when i try to run my "main" method Aug ...
Bidderlyn's user avatar

1
5 6
7
8 9
48