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

learn more… | top users | synonyms

0
votes
0answers
9 views

Java in eclipse, powerpoint, windows

I have an animation I created in java code in eclipse. Is there any way to import this into my PowerPoint without downloading new software (I can't on my school computer) Thanks!
0
votes
0answers
10 views

Batch File Property File String Search And Change the Value to user inputting value

I have a batch file to search a string in a property file and after finding the string, replacing its value to anew value...This script was working fine since last month.Now it is doesnot working in ...
1
vote
1answer
12 views

Java GC Monitoring on Linux

On Windowssystems I use jvisualvm to monitor the GC activity of my programs. Are there any similar tools for linux to do so? I acces the server via putty (ssh), so graphical tools are not supported, ...
-1
votes
0answers
18 views

Need batch file to fulfil the below purpose- [on hold]

Need batch file to fulfil the below purpose-..I have to filter some few specific extension (like .txt , .filename, .docx etc)and copy file from source(server) to destination(server). I am stuck on ...
0
votes
1answer
17 views

Why redirection operators from windows prompt create text ignoring line break? [duplicate]

I tried to output to a text file using redirection operators > and >> from a java class but it ignores line feed \n from java when the .txt file is opened with the Notepad from windows 10. ...
0
votes
1answer
18 views

Issue Installing java on windows 10

so i was installing java and my pc decided to shut off before it could finish, i don't have java anymore, and now when i try to open the installer it never opens, i have tried using CCleaner to clean ...
0
votes
1answer
51 views

Unable to Install JDK 1.8 64-bit on Windows 10

I have installed Windows 10 64 bit on my system, Now when i am trying to install JDK 1.8 64-bit, its giving me following error message. These are my system configurations I have successfully ...
-2
votes
0answers
14 views

What should I do when scope not digest in angular java script? [closed]

When I was try to this , But that time I don't know about this. Scope is the glue between application controller and the view. During the template linking phase the directives set up $watch ...
0
votes
0answers
13 views

How to run CLI command “hangup request” with Java code [migrated]

I need run this with Java String command = "asterisk -rx \"hangup request ...\"" ; but i got return i such command '"hangup'. asterisk -rx "hangup request ..." okay when i type and run with ...
0
votes
0answers
17 views

Java issues with printing applets

I am running Windows 7 Pro and Java 8.91(but this has occurred in earlier versions as well)... My question is that our users are having issues with a particular website that uses Java applets to ...
0
votes
0answers
16 views

Minecraft craftbukkit.jar Could Not Reserve Enough Space for Object Heap

So I started running CraftBukkit servers on my computer years ago. Now when I started up my computer today and tried to run the servers, it wasn't working. It had worked a month ago or so, but now it ...
0
votes
0answers
14 views

Software package fails installing because of permissions

I'm busy installing WS02 on Ubuntu 16.04 LTS Server edition, right now I am facing some problems regarding permissions I guess below is my terminal log. I checked the directory with $JAVA_HOME and ...
1
vote
0answers
27 views

Java runs in batch but not Powershell

I have a batch file that runs a jar with a few parameters, works fine: @echo off java -cp bulkconfig.020.0005.jar com.hospira.bulkconfig.LoadConfig %* I would like to add some more cababilities ...
0
votes
1answer
27 views

Using a particular version of java in a specific directory

My current default version of Java is 7 (which, for now, can't be updated - I know it's reached EOL), but also have Java 8 installed. However, I have some third party jars (all contained in a ...
-1
votes
0answers
42 views

Bypass Java Security on Java 1.8

Has anyone been able to bypass this prompt for internal applications that have an expired certificate? We are on Java 1.8.0_77. I am getting the following java error: "Your security settings have ...
-1
votes
0answers
49 views

Java Installer crashing when accessing VBA code

I work usually with DDE Excel. I have two computers, one with Windows XP and another with Windows 10 64 Bit. The problem happens with the latter computer. I connect the computer with provider DDE ...
0
votes
0answers
1k views

How can I enable Java in Firefox 46 for selected sites? (May 2016)

I want to run Java code in Firefox for certain websites. I run the 32-bit FireFox 46 under Windows 7-64 (admin account). I have the latest 32-bits Java 8 update 91 installed, the Java control panel ...
0
votes
0answers
18 views

How to specify password on Windows command line when executing java -jar to extract files?

On Windows 7 I have pairs of .jar and .dat files from an Apple computer (export result files from another program), e.g. foo.jar foo.dat. I can extract the files by java -jar foo.jar. But this opens a ...
8
votes
2answers
5k views

What's the difference between JDK 8u91 and 8u92?

The Oracle website seems to be recommending version 8u91 when you click on "Java for your computer". But when you click "Java for Developers", it gives two options: 8u91 and 8u92. What's the ...
0
votes
0answers
15 views

Relation between memory host and memory arguments xms and xmx from Java

I have the following host with the memory details: $free -m total used free shared buffers cached Mem: 7872 7579 292 17 483 ...
0
votes
0answers
24 views

Can't allocate more RAM to Java Server

I am running a Minecraft .jar server and i want to allocate more RAM to it. Whenever i use the script"C:\Program Files\Java\jre1.8.0_91\bin\java.exe" -server -d64 -Xms2G -Xmx5G -jar server.jar -o true ...
0
votes
0answers
15 views

How to run JNLP file by force on my computer?

When running JNLP file on my computer, it says I have added the URL to the exception list of Java config but this didn't help. I am the human and according to laws of robotics, computer should ...
0
votes
0answers
7 views

ORA-12505 error come when connect to db in spring application

Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workspaceDbdao' defined in class path resource [context-datasource.xml]: Invocation ...
0
votes
0answers
16 views

java.exe heavy reading of symantec virus definition

I've noticed that a java application (IBM Webpsphere) is running slower than it used to be and doing a lot of IO. When I opened process monitor I saw a weird behavior: it was reading Symantec virus ...
0
votes
2answers
34 views

CMD not recognizing javac.exe

On my Windows 7 64 bits, I changed the JAVA_HOME variable to point on 64 bits JRE, and changed it again to point on 64 bits JDK. I did same operation a few times. Every time I do this change I close ...
1
vote
1answer
45 views

Groovy console won't load on Windows 7 x64

I've never worked with Groovy before. I installed the executable and the latest JDK from the Java website. I set my system ENV variables JAVA_HOME to C:\Program Files\Java\jdk1.8.0_77 and ...
0
votes
0answers
49 views

How to set screen resolution in Java arguments

As the title states, how do I set a java argument to set my PC resolution to 1200x800? For example, in Minecraft (lol) there is an option to set JAVA arguments in the profile launcher. I know ...
1
vote
1answer
161 views

All browsers do not see Java JRE at Windows 8.1

I am unable to run any Java applet in all browsers. Internet pages containing applets (or like that) says like "JRE is not installed on your machine. Install JRE and retry" or they just shows nothing. ...
0
votes
1answer
55 views

Java Applet not using Proxy Settings

I'm trying to use an in-browser Java applet but despite the webpage loading, the applet fails to load. The applet is hosted on an internal server at another location and is accessed via a website ...
0
votes
0answers
20 views

Monitoring remote server in java

My goal is to create a spring mvc based application that shows the states of a remote server (ram,cpu usage ...) in charts. Is there any java API that makes this doable ? (an API with which i can ...
0
votes
1answer
28 views

Forcing two instances of a Java Application to use different network interfaces on Windows 10?

As the title says I am looking for some method of having two instances of the same Java application (that lack this type of setting) to access the internet using different adapters. I found a couple ...
0
votes
1answer
24 views

Should Java SE Binary be allowed to communicate with my private/public networks?

I downloaded the Elder Scrolls Online Tamriel Unlimited game on my pc and got a popup explaining that Java SE Binary wants to communicate with public and private networks. I am a noob. I don't know ...
0
votes
0answers
12 views

Java JRE or JDK silent Update

Is there a way to Auto Update JRE or JDK if an update is available? Background periodically JRE or JDK says an update is available, I would like to do this check using Task Scheduler on system boot ...
0
votes
0answers
30 views

Java GUI statusbar shown too small

I have a Java GUI with a statusbar in the buttom. The GUI works fine on other PC's but on this particular PC the statusbar is shown too small. The PC runs Windows 7. The GUI is swing. The application ...
0
votes
0answers
36 views

Tomcat and Jetty only work once in Windows and then crash

I've had a series of issues with both SparkJava and SpringMVC's embedded servers in my Windows 7 installation. These two web frameworks use Jetty and Tomcat respectively as embedded web servers. ...
0
votes
1answer
87 views

Crashplan 4.5 On Synology Diskstation UnsatisfiedLinkError

I've been running Patters' port of CrashPlan on my Synology Diskstation DS213j (ARM CPU). I recently upgraded the DiskStation OS to DSM 6.0. As part of the upgrade the CrashPlan service upgraded ...
1
vote
3answers
587 views

How to remove Amazon Assistant that was installed by Java installer?

I recently did a clean install of Java about a week or two ago. It asked whether I wanted the Amazon button app installed. I opted NO. It still installed anyway. I removed it from Control Panel -> ...
1
vote
1answer
34 views

JVM variable not set correctly enough for Android Studio

Having trouble firing up android studio. I get the following message: The environment variable JAVA_HOME (with the value of ?C:\Program Files\Java\jdk1.7.0_79\jre and every other variation I can ...
0
votes
0answers
28 views

Digital certificate - “A smart card was detected but is not the one required for the current operation”

I need to sign a document digitally on a website using a certificate installed on my computer. When I try to sign I get "A smart card was detected but is not the one required for the current ...
0
votes
1answer
9 views

Eclipse PDT setup for Java Server Pages

I have used Eclipse PDT for my PHP development project. Now, I am learning to code in JSP. Can I use Eclipse PDT for it? If so, what do I need to do to it for it to support JSP projects? Thanks. ...
0
votes
0answers
37 views

Tomcat 7 has high cpu usage then fails when run as windows service

I put a ROOT.war in the webapps folder and tried to run the windows tomcat 7 service, but after starting it, it just hangs, spikes its cpu usage and then stops. There's nothing about the crash in the ...
0
votes
0answers
12 views

RHN + Rollback from a Snapshot return error

I am using the RHN version 5.7 And after I created snapshot and update the Linux machine with errata update Now I want to perform a rollback I am trying to perform rollback from a snapshot as ...
0
votes
1answer
66 views

Calculate Packet loss for data in android from streaming server in udp

I am developing a simple application for android where I need to communicate from server in UDP and I did that with the help of socket programming, now I need to find Packet Loss in my connection, so ...
0
votes
0answers
13 views

Eclipse Luna is crash in CentOS, whenever I tried to edit any Java file or any other file

Eclipse Luna is crash everytime in CentOS whenever I tried to edit any Java file or any other file. Eclipse is closed always. Plz suggest me something. I am running centOS in VirtualBox VM and Host is ...
0
votes
1answer
51 views

How to change Java version on Windows 10

I have done the following: 1. Set the environment variable JAVA_HOME: 2. Add Java 1.6.0_45 and disable Java 1.8.0_66 in Java Runtime Environment Settings under Configure Java: Unfortunately, the ...
0
votes
0answers
8 views

Requesting Help About Revelio Error

I downloaded Revelio software for a network test work, but it's not working properly. It says java lang error again and again. I tried many times. The website said that pc should have java ...
0
votes
1answer
48 views

Is there any way to run a .jar file directly from a java Unix executable?

I have a .jar file and would like to open it using a Unix executable, java, that I have embedded within another application.(I do not have Java installed for security reasons) Is there any way to run ...
0
votes
0answers
69 views

Java out of box cacerts certificate are SHA1 is there one with SHA2

Java/JDK/JRE they have a keystore cacerts under lib\Security folder as shown below Java comes with around 93 certificates out of box, These are not self-signed these are supplied by java itself ...
2
votes
1answer
53 views

Download Java 1.7.0 JDK for CentOS

I have a CentOS 5.2 32-bit machine, which I can't connect to the internet. As Java Oracle does not seem to work, I would like to try using OpenJDK, but therefore I need to install OpenJDK first ...
0
votes
0answers
67 views

Is It Possible to Try Out Eclipse Che on Openshift Online? (Run Docker)

Is there any way to run Eclipse Che on Openshift Online? I created a DIY server and installed Eclipse Che to $OPENSHIFT_DATA_DIR, however upon running sh che\bin\che.sh, I was informed that Docker ...