Widely-used object-oriented programming language, emphasizing portability.

learn more… | top users | synonyms

0
votes
0answers
36 views

All Java applications stop working after about 7 seconds since upgrade to Windows 10

Earlier today I updated my computer to Windows 10. I noticed, that whenever I run a Java program, it launches fine and runs fine, but after about 7 seconds, I will get a popup that says "Java SE ...
0
votes
0answers
28 views

Java 8 silent update package

My situation : we currently have Java 7 massively installed and some older versions of Java 8. Computers are Windows 7 SP1 x64. My goal : create a Java 8U51 silent install package that let Java 7 in ...
-1
votes
2answers
47 views

Is learning Java enough to make good Android Apps? [on hold]

So I have been learning Some JAVA And I'm wondering, Is it enough to make Apps for Android ? and what about iOS ? And Is java good enough to make graphical interface programs for Operzting systems ? ...
0
votes
1answer
26 views

Applying Java minor updates

A bit of a noob question here, but I can't seem to update my Java from 8u31 to 8u45 or 8u51 (Linux Mint 17.2). I can switch between my Java 7/8/9 easily, but these minor versions are really annoying ...
-1
votes
0answers
17 views

How can I learn to use JSR 352 for Batch Processing? [on hold]

I've searched for several tutorials, but some guides require a baseline level of knowledge of used APIs, or assume that users have used prior batch clients, or vaguely delineate differences between ...
0
votes
1answer
24 views

How do I simulate a DNS server returning a SERVFAIL in response to a A query?

Goal When an A query returns an NXDOMAIN response, my java app throws an UnknownHostException. I would like to know if a SERVFAIL response from DNS servers caused java to throw this error as well. ...
-5
votes
1answer
30 views

Desktop application for acessing HTML files [closed]

I am planning to design a desktop application which will will access HTML file, take data from that, have it store the data after some logic in Excel. I have some queries regarding that. Which ...
0
votes
1answer
29 views

Running a Java process from Systemd

I'm trying to execute a shell script from systemd. The script runs fine from command line. The script (runServer.sh), runs up a Java process and looks like this: #!/bin/bash java -jar ...
-3
votes
0answers
19 views

Code for Simple Arithmetic [migrated]

I am new to programming, first year college of BSIT and we were tasked to code a SimpleArithmetic where it will ask your name first and after that you will be asked to enter the first and the second ...
1
vote
0answers
48 views

Is it possible to turn on TLS 1.2 in .jnlp file?

is it possible to turn on TLS 1.2 in .jnlp file to download .jar from HTTPS server where only TLS 1.2 is set? I've tried in many ways: <resources> <j2se (...) /> <jar (...) ...
1
vote
1answer
64 views

Can not start Eclipse Mars on OS X Yosemite 10.10

On a fresh OS X Yosemite 10.10 box, when I tried to run Eclipse Mars, I got the usual "You need Java 1.6, Click More info" box. I followed the link and installed the Apple maintained 1.6.x package. ...
1
vote
2answers
29 views

How can I automatically re-open a program if it terminates / closes / crashes?

I've created a Java JAR program that needs to be running all the time in the computer. If the program is closed (either because the user closed it or because it crashed), I need to reopen the program. ...
0
votes
0answers
51 views

allow java applets in browser

I really don't get the policy of not allowing java applets in browser. I mean, I understand that the java does not run automatically for security reasons, but it seems that there is actually no way ...
0
votes
0answers
23 views

Text is not showing up in Chrome or FF but Showing up in IE, Reader. Please

Text is correct using IE Browser or Adobe Reader Text is not showing up in Chrome of FF Made using tool called Adobe live cycle designer and Java(XPAA.jar) Do you ever having similar problem? or ...
0
votes
0answers
11 views

Rename Tomcat7.exe for different instances?

I'm running JIRA and Confluence on the same server. Both show up in the task manager as Tomcat7.exe. I'm planning to write a monitoring script to restart the appropriate services if the tasks crash. ...
0
votes
0answers
17 views

Java Home was not set properly?

I am trying to install MATLAB on my Fedora 22. At the end, I get an error The application encountered an unexpected error and needs to close. You may want to try re-installing your product(s). ...
0
votes
0answers
16 views

How to distribute a java app (jar file with bash launcher) through Brew?

I have two files: a jar file and run.sh script to run the jar. I want to run it through the Homebrew. What should I do to make it possible?
1
vote
1answer
47 views

ASN1 Structure Admission Syntax

I want to add the Admission Extension to my Certificate. Therefor i use the Tool XCA, which uses OpenSSL to create the certificates. This is my structre i wrote with some dummy Data: ...
0
votes
0answers
19 views

My Single-Threaded CPU-Overloading apps use a percent of a thread, graphs shows different results

I made very simple C++ app that contains an empty while(true); loop, I tried with both optimized (-O2) and without optimization, both gave the same result in Task Manager, I even tried same Java and ...
0
votes
0answers
20 views

gettext for java project under Windows 7 gives error 'Bad file descriptor'

I'm trying to use gettext in java project to provide translations for different languages. My workstation runs Windows 7 and so I'd like to be able to go through whole build process on it (including ...
0
votes
1answer
15 views

A service when run as Local Service gets stopped in Windows 2008

A service associated with a Java application deployed in my system runs fine when it is running with Local System account but I want to run it with Local Service. I changed from Local System account ...
0
votes
0answers
34 views

I've to give my final year project on CD. How can I make sure it requires minimal efforts to run?

My project details: JavaEE pure JSP/Servlets MVC MySQL Tomcat Pressing ^Ron IntelliJ was easy. Now I have to give my project in a compact drive. What can I do so it does not require much effort to ...
0
votes
0answers
37 views

How to find java packages to import with Sublime Text 3?

In Java IDE's there is usually a feature that suggests/auto-completes imports, however with sublime text, I end up searching for packages to import I'm wondering whether there is an internal feature ...
0
votes
1answer
22 views

java -version not working in linux

I have untar the jdk on my Linux machine and I have set the environment variables ie ~/.bash_profile however if i give java -version on terminal I receive the below error. bash: ...
1
vote
0answers
15 views

How to write inside a text file using arabic letters with the accents? Java [migrated]

I have a problem with Netbeans file viewer. I have a string in Arabic that includes accents in top of each letter. When I remove the accents from the string, the letters display correctly. However, ...
0
votes
0answers
28 views

How to set heap size (-Xmx) more than 1 gb in Windows 64 bit machine with 4gb ram?

I got the error as below: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. I can set maximum heap size 1gb. After ...
1
vote
1answer
36 views

FTP server “Transfer Complete” not received by Client

Using vsftpd 3.0.2 on ubuntu 14.04. Clients connecting via JavaApplet typically from Win7 using standard FTP. Issue occurs on both IE and FireFox. On small transfers clients do not have problems. On ...
0
votes
2answers
52 views

Apache Upgrade leads to SSL handshake failure with Java client

I have an apache 2.4.10 to upgrade to 2.4.12, underlying openssl 0.9.8, with the following SSL configuration: SSLCipherSuite ...
0
votes
1answer
32 views

Can't run IDEA 14 on Ubuntu 14

When I run Idea from idea.sh, I get this error: 'tools.jar' seems to be not in IDEA classpath. Please ensure JAVA_HOME points to JDK rather than JRE. My actual $JAVA_HOME is ...
0
votes
0answers
21 views

how to install IBM java on linux

I have downloaded jre pack from IBM site. downloaded file name is ibm-java-jre-7.1-3.1-i386-archive.bin. Not sure how to install this. I couldn't find instructions on site. I can't extract it or just ...
-1
votes
0answers
22 views

How to install a specific version of Java 6 on mac?

I need a specific version of the Java JDK (6u25) to be installed on my mac. How do I install a specific, older, JDK version on a Mac? Details: OSX 10.9.5, Java JDK 6u25 I need this specific version ...
-1
votes
0answers
42 views

How to reduce Eclipse memory consumption

How do you reduce the total memory that Eclipse consumes? I'm running Luna 4.4.2 on Ubuntu 14.04, and although I have a lot of git projects, with no files open Eclipse consumes 23% of my 8GB of ...
0
votes
0answers
59 views

Cannot connect to server, error message says “java.net.ConnectException: Connection refused”

I have been trying to get a minecraft server running for some time now to no avail. I apologize for the fact that this is not as technically advanced a question as is intended for this forum, and that ...
0
votes
0answers
20 views

Invalid or corrupt jarfile ios-server-standalone-0.6.6-SNAPSHOT.jar

I am starting automation with iOS driver and selenium. I am following http://ios-driver.github.io/ios-driver/?page=setup#launch link. Installed sdk and jdk. while starting server with command $ ...
1
vote
3answers
50 views

How to check the program is installed on linux?

I want to check if the program is istalled on linux(CentOS). (I used java jsch) If not, send messages to front-end which program user lacked. I used which As you can see,I didn't have php ...
0
votes
0answers
11 views

How to best setup PC or Mac to access a website that requires older JRE?

I have a website I need to access that requires JRE 1.5.0_11. I'm looking for the best solution to be able to load that particular website using this old Java version without cluttering my system or ...
0
votes
1answer
23 views

Assign a port to a webaddress

I'd like to give my friends a url instead of a ip:port address for connecting to my minecraft server. Specifically I'd like to give them minecraft.myregistereddomain.com instead of ...
0
votes
1answer
7 views

Equivalent of JavaImport in Sublime Text 3?

I've got ST2 on my Windows machine which I've installed the JavaImport package which is a great tool for automatically writing the 'import' statements for various functions. Unfortunately it is not ...
0
votes
0answers
16 views

Different Java Path between window managers for some applications

I'm having trouble getting PyCharm to work under Openbox on my laptop. I'm certain this is a Java path problem but I don't know how to solve it. I have (admittedly) a complicated laptop setup. My ...
0
votes
0answers
18 views

Java server started from putty with screen cmd gets unresponsive over night

I have a java server that I start on a centos box via putty. I use the screen command like this: screen -S name java -cp desktop-1.0.jar com.aperico.game.skellitown.desktop.DataServer & Ctrl + A ...
0
votes
0answers
203 views

Multiple Processes of “Java Web Start Launcher” showing up in the Task Manager when uninstalling Java

A few days ago, I planned to uninstall Java because I don't need it anymore. I use an uninstaller named 'Revo Uninstaller' to do a thorough uninstallation of older versions of Java. I was able to ...
0
votes
0answers
26 views

Upgrade “Bitnami Tomcat 7.0.57-0”'s java to jre 1.8

I'm trying to upgrade java 1.7 to 1.8 on an amazon server. But it doesn't seem to work, because it says it's already up to date. First: java -version Java(TM) SE Runtime Environment (build ...
0
votes
1answer
165 views

Can't start Pycharm due to unability to detect graphic settings

I just downloaded the PyCharm IDE on my Feodra to play around with Django. However i am unable to run it due to some graphics environment problem, which doesn't say to me much. Did someone run into ...
0
votes
0answers
26 views

How to find the default Java 1.4.2 heap size in AIX

Hi can help to advise me how to find the default heap size ? I didn't mention the minimum and maximum heap size in the startup script . However both max and minimum value auto set to 512 MB . so ...
1
vote
1answer
61 views

Read Only Folders on Windows

I'm trying to mark a folder read-only using Java. The function call is setWritable(false). But, this doesn't disallow creation of a new file in that folder. I've read about this a lot and it turns out ...
1
vote
1answer
1k views

intelliJ not working on El capitan 10.11

I just installed the new OS El capitan 10.11 and discovered that intelliJ isn't working on it. When I launch it, I get this error: "This application requires the legacy Java SE 6 runtime which is ...
4
votes
1answer
195 views

How to install 32 bit Iceweasel/Firefox and Java plugin so that webex audio works on Debian 64 bit?

Colleagues would like to communicate in a videoconference using Cisco Webex. This requires the Java plugin for Firefox/Iceweasel. Based on this blog, I installed the web browser plugin based on ...
0
votes
1answer
45 views

How to execute a very long command line when launching a java program?

I need to start a java application with lot of additional libraries (libraries can be linked in runtime using -cp argument). When I paste this command line in command prompt, it says the command line ...
1
vote
0answers
13 views

how to disable hotkeys in chromium

Everyone i am a system administrator in a company. I am making a package of chromium 39 portable and jportable to run a web application. I am looking for a way to disable right click, ctrl f4, ...
0
votes
1answer
27 views

MYSQL Connector J in Ubuntu

I'm relatively new to Ubuntu and am developing an application using MySql Server. My question is, where do I put the file? I know in Windows the connector goes in the 'lib' file of the project. Does ...