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

learn more… | top users | synonyms

0
votes
1answer
206 views

Temporarily switch Java version in bash script- Ubuntu Linux

I'm using the Java keytool as part of a larger bash script. I need to pass in a password to create a keystore, so used the command keytool -importkeystore -deststorepass:file ${somefile}. This ...
0
votes
0answers
45 views

TomCat(Apache) - Bitcoin Miner (.war?) - How to install

Basically I have a Tomcat server which hash's 2000 Khs CPU mining power (yes I know about the electric costs) I just want to try it out is there anyway I can install a Bitcoin miner or just a ...
0
votes
0answers
47 views

How to install JRE on AIX7.1 as normal user at custom path (e.g /home/user1)

Is it possible to install JRE in AIX as a normal user and not as a root user. Also how to provide custom target path for the installation directory.
0
votes
1answer
26 views

Why first-time reading file from hdd is slower then next ones?

I am measuring my HDD speed with a self-written program. (This is a sort of homework, so I don't need recommendations about existing tools to do that). I do it with the following piece of code: ...
0
votes
0answers
86 views

Java applets not working in Windows 8

I really want to view the Java applet in this website. I've tried in firefox and IE and neither work. I followed Sun's instructions but they're inacurate: first of all there's no Java Control Pannel, ...
0
votes
2answers
59 views

Running large computations makes my computer lag

I am running a Java program which I wrote, which calls Gurobi (an optimization software for linear programs). When I am running a large program that takes ~20 hours to complete, even simple tasks ...
0
votes
0answers
264 views

Some ffmpeg command not working properly when I execute through java on ubuntu 14.04

When I execute ffmpeg command through java code then It is not executing properly Example-: I want to draw text in video through java code My code in java is String cmd="ffmpeg -i 12213blob.mp4 ...
0
votes
1answer
105 views

Are Intel i7 core mobile processors decent enough for software development? [closed]

I'm reaching out because I'm in the market for a new laptop, and I would like something light that I can take with me for a job interview or meet clients, so I can demonstrate my source code and ...
0
votes
1answer
147 views

Why is “java” a valid command in terminal (bash) if it is not in my path?

On OSX, in the terminal, using the command: echo $PATH Gives me the following output: ...
0
votes
1answer
309 views

eclipse not started from command line in Ubuntu 14.04

I installed latest version of Eclipse at /opt/ directory in my Ubuntu 14.04 machine. Then I created a soft link to open it through command line: sudo ln -s /opt/eclipse/eclipse ...
0
votes
0answers
42 views

I installed eclipse luna,when i was trying open eclipse.exe it is showing an error

i tried to install Eclipse IDE for Java EE Developers in e:drive i extact there.when i was trying to .exe it is showing an error like Failed to load JNI shared library ...
0
votes
2answers
177 views

cannot set JAVA_HOME

I'm running Linux Mint Quiana. I want to run Android Studio and this requires me Java. Since i needed NetBeans i decided to install NetBeans with Java 8 bundle from oracle's website. I tried for days ...
0
votes
1answer
690 views

IE8 how to hide “Java is obsolete” bar message preventing automatic script execution?

I have a computer which specifically needs to use Java 6 Update 11 AND IE8. (Updating to Java 7 Update 67 crashes all the web apps of my customer). I uninstalled the new Java and installed his old ...
-3
votes
1answer
96 views

How to create a local server to compile and run programs in C, Java,..etc [closed]

How can I create a local server on my Ubuntu laptop which is able to compile and run C, Java, Ruby, Python, etc code? And I want to use that service from my tablet through WiFi.
3
votes
0answers
657 views

Build an Android Rom (Make Error 41)

I tried to build a custom Rom for Android 4.4.4. I use as base the Liquid Rom (Github Link) Before I build the rom, I had insertes in the local_manifests some apps to add to the ROM and before I did ...
1
vote
1answer
221 views

Two versions of java installed in two locations on my mac, which is right?

I am having trouble with java install locations. I am using a mac running 10.9.2 and i have two versions of java installed jdk 1.7.0 & jdk 1.6.0 but both installs are in different locations. jdk ...
1
vote
2answers
309 views

How to stop a running jar file in a bash script after 5 minutes and start the next one?

I have to run a jar file with different parameters like this: #!/bin/bash cd /Users/hawkarhama/Desktop/RUN echo $(java -jar IPM.jar 0 20 3 sign.txt) echo $(java -jar IPM.jar 1 20 3 sign.txt) echo ...
0
votes
1answer
21 views

Installing 3rd party packages

I am using Ubuntu, and installing packages through the repositories is easy, APT does it all for you, but sometimes I need to install something over the internet. 99% of the time, these packages are ...
1
vote
1answer
51 views

Reach JBoss EAP 6 server in local network from mobile app

I have a Java application running on JBoss EAP 6 which I can "hit" from mobile app on chrome using urls like: 127.0.0.1:8280/myAwesomeJavaApp/coolService ... so when I package the app I am using urls ...
0
votes
0answers
126 views

BIRT Background image is not populating while expoting report to DOCX format

I have created a master page for my birt reports. In master page I have added a new theme with an added predefined style as table-header-cell, where I set a background image for the table header. This ...
0
votes
1answer
603 views

How to recover system path variable on windows 8 (64 bit)?

I just deleted my system path variable while setting up java jdk. How to recover default setting?
0
votes
0answers
115 views

how to read file from different directory through jsp in centos

i am on centos 6 and created a jsp project on the directory /root/NetBeans/MyProject/ and my jsp page is on /root/NetBeans/MyProject/web/mypage.jsp My problem is that i want to access a sound file ...
0
votes
0answers
19 views

Building failsafe system

As an assignment I have to realize failsafe webserver using Virtual machine. I have been trying it using a separate java program on host to monitor heartbeat of the vm and redirecting the http ...
0
votes
0answers
50 views

Increasing Java Heap Space causes IE 8 to freeze

I am running a large applet that performs better if the Java heap space is increased to 300m. I adjusted the heap space in the java control panel utility as I usually do and restart IE 8. This ...
0
votes
2answers
101 views

Setting java path in bashrc and cshrc

My system java's version is 1.6, for running Eclipse I need jre 1.7. I've already downloaded and unpacked the archive of java 1.7, but I cant change the default path from /usr/bin/java to my unpacked ...
0
votes
0answers
157 views

How to run web application in virtual machine using tomcat in the real machine

I´m Java developer and I´m want to test the system in different browser. My virtual machine is Virtual Box and I´m using Windows Xp with Internet Explorer 6, so I want to access Tomcat application in ...
1
vote
0answers
95 views

Slow Windows Application Startup

I have Windows 8 Pro/i5 3320M laptop with 8GB memory. Java based applications such as Eclipse, Phpstorm takes about 15-30 mins to load. (i assume issue is with java apps, others work fine). I tried ...
0
votes
0answers
317 views

Removing Java Security Prompt

I installed the software Action(s) on my Windows 8 machine but the annoying Java security prompt Window will not stop showing up when I launch the application: The Java Control Panel also resets my ...
0
votes
0answers
461 views

How to run Java apps (J2ME MIDP JAR) on Android 4.3?

I've searched the net but the results are all for Android 2.3 Most of the emulator apps exit with the error :"Unfortunately the apk has stopped" Does anyone know a working emulator app or a way to ...
0
votes
0answers
167 views

libGDX project generator: Build Failed : Cannot find java system compiler

while generating a project libGDX throws thid error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':core:compileJava'. > Cannot find System Java Compiler. ...
6
votes
2answers
3k views

Is it safe to delete Java folders from C:\Users\(Username)\AppData\LocalLow\Sun\Java

I am using a Windows 7 64-bit PC. I have many folders in C:\Users\(Username)\AppData\LocalLow\Sun\Java with names of older Java versions like: jdk1.7.0_21_x64 jre1.7.0_45 jre1.7.0_25 These folders ...
2
votes
2answers
10k views

64 Bit Windows 8.1 Failure to reinstall Java JDK and JRE

Attempting to update to jre-7u67 from 65 did not appear to work. On reattempting, installation failed with a “Access is denied” message. JDK was still there but I followed recommendations to remove ...
0
votes
0answers
28 views

I associated Notepad to .Java files accidently, how do I undo this? [duplicate]

I am using Windows 8, I associated Notepad to open .Java files, all java files changed icon to the notepad one as a default program. I need to undo this step and make java files not associated to any ...
-2
votes
1answer
625 views

Remove java 7 after java 8 installed?

So, I don't know if here is the right place for such as qustion, but: Just now I installed java 8. Is java 7 still relevant or I can remove it? Thanks!
0
votes
2answers
739 views

Opera keeps prompting me to update Java- is this a virus?

Over the last few weeks, I've noticed that I keep getting prompted to update my Java at increasingly regular intervals. In the past, I have usually just gone ahead with this, but I am sure that it ...
0
votes
0answers
142 views

Java allowing self-signed certificates but option is disabled

Java does not want to run an application with self-signed certificate, I'm using java 1.6u45 the option in the Java Control Panel under Security -> General -> "Allow user to grant permissions to ...
0
votes
0answers
28 views

Java and white listing

Is there a way with Java 7 to whitelist all local IP subnets to allow execution of Apps? Traveling around accessing control panels and I do not want to have to whitelist every single IP I want to ...
0
votes
0answers
261 views

Open JNLP files with (portable) JAVA 7

I'm using the binaries of Java without installing it. Until now, I could open jnlp files by Java 6 and the following set of commands: (JDK is not mandatory) set ...
3
votes
1answer
2k views

Run Java applets on Chrome 36 on Linux x86_64

How can I enable or make Java (OpenJDK) available on my Chrome 36 browser? I have installed all 32 and 64 bit (headless) packages as well as the icedtea-web package (noarch) and still I can't get ...
1
vote
0answers
43 views

What goes on when using kinit with a keytab file

Wish to get more understanding on the use of kinit and keytab file. For example, if I already have a keytab file generated for a service ( the service registered to active directory by ktpass -mapuser ...
0
votes
0answers
35 views

How to get the directory size of a SVN repository using SVN Java API

I am trying to get the SVN repository info using SVN Java API. Now i need to get the size of each directory at any level. I checked in the DOC and find inside the class SVNDirEntry there is a method ...
0
votes
1answer
1k views

Web Browser permissions to run JavaFX application

I'm using the Netbeans IDE to create a simple HelloWorld gui application in JavaFX. Netbeans offers three run configurations and two of those are, run in a Web Browser or run in WebStart. When I try ...
0
votes
0answers
32 views

Diigo will not autoload my previous highlights on web pages. chrome, osx

I have a problem that Diigo won't reload my previous highlights from earlier when re-visit web pages. However I've found out that by making another additional highlight strangely reloads previous ...
0
votes
0answers
67 views

How can I install jdk1.6.0_02 on Mac OS?

I want to install JDK 1.6.0_02 on Mac OS. I've tried the Linux version, but it didn't work on Mac OS. How can I install it?
0
votes
1answer
297 views

How to access Java JARs through CLASSPATH environment variable on Windows 7

I know there is this article on JAR files on Linux but the solution involves some Linux specific commands I don't know, and ultimately I'd like to understand if I can access my JAR (and JARs it ...
3
votes
1answer
1k views

After upgrade to OSX Mavericks: “Unable to find any JVMs matching version 1.6”

After upgrading my work notebook from Mountain Lion (10.8.5) to the Mavericks (10.9.4) this weekend, everytime I open the terminal I now get the following error message: Unable to find any JVMs ...
0
votes
1answer
212 views

How to change brace position in IntelliJ IDE?

I am using the IntelliJ IDEA ide for java coding. By default it produces curly braces on the same line as the function name, like so: function bla() { .. } Can i change it somewhere there so that i ...
0
votes
0answers
90 views

Force java to accept self signed certificates

OK, I know about the excepction list, but adding individual URLs to the exception filter is not the way I want to proceed. I already have click-to-run enabled, therefore if I want to run a java ...
0
votes
1answer
42 views

Excuting Java processes on a remote Windows machine when Developing on Linux

My main development environment is in Linux. However, my execution environment for my application is on Windows. The language of choice is Java. Is there anyway to setup IntelliJ to invoke the java ...
0
votes
1answer
89 views

What percentage of RAM can I allocate as heap

I have 32 GB RAM on host, where I need to run java program ( On JRE 1.7 64 Bit). Currently I have specified 8 GB as heap memory. I am wondering how much can I increase ? I just run the java webapp on ...