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

learn more… | top users | synonyms

-2
votes
0answers
8 views

Cannot play mpg file in android [on hold]

I want to play .mpg file from MediaPlayer in android. But I am not able to play. This is my code. File file = new File("abc.mpg"); MediaPlayer mp = MediaPlayer.create(MainActivity.this, ...
-4
votes
0answers
18 views

Why am i getting Time limit exceeded for my this code? CodeChef [on hold]

Why am i getting Time limit exceeded for ans for my this code? I tried this question on CodeChef.My logic is correct but my answer is showing time limit exceeded , i don't know why ? ...
0
votes
0answers
15 views

How to overlay mp3 files using ffmpeg on android [on hold]

I want to overlay 2 mp3 files in android. I am using following ffmpeg command ffmpeg -i abc.mp3 -i def.mp3 -filter_complex amix=inputs=2:duration=first:dropout_transition=3 result.mp3 -y But I am ...
-1
votes
0answers
26 views

Need to make home-computer-based online share safe [on hold]

I have a web application, and I need to let people in other states to play with it online for just a few of days. I need their review and comments. This is a one-time use case. In my home, I use ...
0
votes
1answer
8 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 ...
-1
votes
0answers
24 views

FFmpeg command taking long time [closed]

I am using following ffmpeg command to lower volume at particular duration but it takes around 20-30 seconds. How to speed it ffmpeg-0 -i abc.mp3 -af "volume=enable='between(t,5,10)':volume=0.15, ...
0
votes
1answer
71 views

Accidentally associated .exe files with java.exe

I have downloaded a YawCam.exe program in order to take pictures with my webcam. After installation I clicked its icon to start then it opened 'Open With...' dialog to select which program to be ...
2
votes
2answers
28 views

Where do I put commands to run scripts?

I'm trying to run a few scripts (whether python, java, etc). The developers in their documentation give code for me to put in. Here are some examples: java -Xmx2g -jar muTect-XXXX-XX-XX.jar ...
-3
votes
3answers
36 views

Extract text from every three lines using Windows

I have a HUGE text file with details of my site users. (11GB+). It's built like that: Email: example@gmail.com Address: 1blahblahblahblah (Bitcoin Address). Password: blahblahblah Each of the ...
0
votes
1answer
20 views

How can I increase the memory heap in pycharm

I am using pycharm and its memory shown at bottom right corner is 750M. I could not find any setting where I can increase that. Where do I increase that memory. I am using version 3.4. I searched a ...
1
vote
0answers
20 views

In Windows, what are the possible places the JVM might get the default time zone from?

I'm in a situation where I need to create a UAT environment which mirrors the production environment as closely as possible. I currently have a problem with a Java application using a different time ...
-1
votes
0answers
12 views

when starting cassandra -f encountered the Exception in thread Thread[MemtableFlushWriter:1,5,main] [closed]

ERROR 05:27:43 Exception in thread Thread[MemtableFlushWriter:1,5,main] java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native at ...
-1
votes
0answers
17 views

Java's automatic Data collection of users [closed]

Why does the latest version of Java from Oracle collect user data by default? There is no option to even disable data collection. Isn't there a law against this type of collection?
0
votes
0answers
21 views

Java download issue

Problem 1: I play Minecraft and some Steam games. But recently, I noticed I couldn't load webpages. I looked at resource monitor and saw that my Network graph was maxing at 10Kbps, quite frequently. I ...
0
votes
2answers
18 views

java function does not work in cygwin

I'm trying to run a series of programs in Cygwin, but I'm pretty new to this kind of thing. My current dilemma is running a java file. My input and the error is below. Gaius@Ellislab2015 ...
-1
votes
0answers
23 views

what is the process to run an exe program on windows machine from a different linux machine on the network? [on hold]

Example there exist servers A and B. A is windows based and B is linux/solaris. A has custom.exe file. B has java based application.B application needs to execute (call) custom.exe without losing ...
1
vote
1answer
52 views

How do I run a Java Applet when browsers don't support it anymore?

I am using the latest versions of Chrome, Chromium, and IceWeasel browsers on my Debian 7 system. During an experiment, I need to run old Java applets in browser. However, since the modern browsers ...
1
vote
2answers
28 views

apache-tomcat-8.0.22; Error occurred in initializing VM java.lang.NoClassDefFoundError : java/lang/Object

I have reinstalled JRE with latest version JRE1.8.0_45 . Whenever I try to run Tomcat :startup.bat this error occurs . Installation of JRE done with Oracle online installer and was perfect. ...
1
vote
1answer
29 views

Why do programs (JVM) crash while there is still plenty of available space in pagefile?

So, very simple question indeed. With my RAM-limited dev machine (8GB of RAM, Win 7 x64, 8GB of pagefile), when I run out of available RAM, programs first start to slow down, and eventually crash. ...
0
votes
0answers
26 views

Java 8 build 45 expired certificate

The Java cert on my old hardware (Dell DS2161-2) IS EXPIRED (last month) and Java is trolling me with "security". I've tried adding it and variations there of to the exception list, but that doesn't ...
1
vote
2answers
26 views

command line terminal in mac os x shows wrong version of Java

I have installed Java 1.7 on my mac at /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home In Command line I set the java version as export ...
0
votes
0answers
66 views

Getting Exception: java.net.ConnectException: Connection refused when running Minecraft.jar on TAILS linux

I am running Tails from an USB stick (because hard drive is broken) and when I try to run Minecraft I keep getting the same error. Should I specify any parameter when calling Java? How do I solve ...
0
votes
0answers
18 views

pom file java version spec for Maven [migrated]

I am a new user to Maven, as I am trying to use it to build apache spark on amazon EC2 VMs. I have mannually installed java version 1.7.0 on the VMs. However as I was running the Maven, the following ...
0
votes
1answer
13 views

Headless install of Java Cryptography Extension (JCE) Unlimited Strength?

Is there a way to install Java Cryptography Extension (JCE) Unlimited Strength jars without having to download them manually and accept the terms and conditions? I would like to set this up on my ...
0
votes
0answers
12 views

When opening enginesim, a command prompt flashes and goes away

When opening the turbo.class or turbo.java file for enginesim, found here, the command prompt flashes and then exits. Using the commands java -cp . turbo.class, java -cp . turbo.java, java ...
0
votes
0answers
26 views

Apache Spark building on Amazon EC2

I am currently building Apache Spark on Amazon EC2 linux VMs, following the instruction from spark.apache.org/docs/latest/building-spark.html. The tools I am using for the building: apache-maven: ...
0
votes
0answers
15 views

Setting Unlimited Strength Jurisdiction Policy Files for multiple versions of Java

I need to install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files into the folder /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/security/ ...
0
votes
0answers
48 views

JNLP files will not launch from IE's temporary internet files folder

Windows 7 machine. Have several different Java applications which launch from JNLP files on websites. The JNLP files download to 'Temporary Internet Files' and then do nothing from there. I cannot ...
0
votes
1answer
37 views

How to make a java jar file to be a single file executable?

I have a jar file with a main class in it. The main class is already configured in the manifest file, meaning the jar can be executed in the following way: java -jar Main.jar I'd like to make it ...
0
votes
1answer
226 views

Oracle JRE 7 and 8 both will not install on previously Javaless win7

Simple question I thought I'd never have to ask, since I've done it hundreds of times before: How can I install JRE? I have a Win7 x64 Pro box with no Java environment, running as an admin user. I'm ...
0
votes
0answers
3 views

How to create relationship of new added node to existing Node in Spring NEO4j [migrated]

I am facing an issue while creating an relationship with existing entity .Below is my code snippet @NodeEntity public class CustomerTag implements Serializable { /** * */ public ...
0
votes
1answer
30 views

Java Applet getting blacked out (on VM?)

We have a piece of software that runs (exclusively... I don't know why) in Internet Explorer. This software makes use of several Java Applets (JRE 1.6) to provide additional functionality. I have ...
0
votes
0answers
133 views

Does a Java plugin for Chrome exists that does not use NPAPI?

This is my follow-up question to "Java plugin doesn't work in Chrome — how can I fix this?". Google writes that they will completely remove NPAPI support in Chrome 45. My question: Is there an ...
0
votes
0answers
24 views

Why does my Java test suite hang the entire system

When I'm running my test suite for a new java application it hangs, which by itself isn't that unusual considering it's under development. The problem is that that causes the entire system to almost ...
1
vote
0answers
43 views

Aptana Studio 3: allow more than ~1300MB memory for JVM

Moved from Stack Overflow. I'm running Aptana Studio 3.6.1 on 64-bit Windows 7. Aptana site states that the IDE is compatible with 64-bit environments. When attempting to use a 64-bit Java version, ...
2
votes
1answer
68 views

Java Swing apps steal/don't release focus in KDE

Kubuntu 14.04 (64bit) with KDE 4.13.3, Java Oracle 1.7.0_80-b15 This problem first occured in 12.04 and persists. Java version does not affect the behaviour, i.e. the same happens with 1.6 to 1.8. ...
0
votes
0answers
26 views

Is there a way to run the runescape java client on a server and redirect the output?

Im not even really sure if i word the question correctly so i will just explain the situation in detail: So first I want to play runescape at work so i can level some skills AFK a little (work can be ...
0
votes
1answer
70 views

Unable to run Matlab on Ubuntu after fresh installation

specs: OS - Ubuntu 15.04 (64-bit) and Matlab - ver. R2013a (64-bit) I have successfully installed and activated Matlab. After trying to run it via terminal, it is showing error on the terminal. ...
0
votes
0answers
16 views

Upgrading Apache http server 2.0 directly to 2.4

I have gone through several suggestions online for upgrading Apache HTTP server 2.0 to 2.2 and then 2.2 to 2.4. But I want to somehow upgrade Apache HTTP server from 2.0 directly to 2.4. How it can be ...
0
votes
0answers
17 views

NullPointerException using the VisualVM launcher

I'm running Arch. I installed eclipse-java from the AUR and later installed visualvm from there too. After setting up the visualvm launcher, and creating a run configuration using it, I still get a ...
0
votes
0answers
50 views

Sequel::AdapterNotFound: LoadError: cannot load such file — java

I have installed jruby-1.7.16 using rvm and having java open jdk version 1.7.0_75. bundle install gets success below are the errors when I run the bundle exec rake db:migrate --trace ...
0
votes
0answers
33 views

Java app certificate Issue

I have an app called Tata Docomo Get.I downloaded it from the website on my java phone then Its showing no valid certificate.So I downloaded the app on pc I have two files of this app .jar and ...
1
vote
1answer
693 views

javaw.exe isn't running as an executable

I am using Windows 7 Ultimate x64, SP1 and latest updates are installed. Any time I attempt to open a Java application, I receive a dialog asking what program I want to open javaw.exe with. This ...
10
votes
1answer
9k views

How to re-enable Java plugin on Google Chrome 42 on Windows [duplicate]

As stated in NPAPI deprecation: developer guide: In April 2015 (Chrome 42) NPAPI support will be disabled by default in Chrome and we will unpublish extensions requiring NPAPI plugins from the ...
-3
votes
2answers
64 views

Copy unix mail (received by sendmail) to a linux directory (individually)

Does anyone know a way to copy all new arrived emails (on Fedora Linux), to store in a Linux directory (not in some other mail folder, but on the Linux file system directory)? We use Procmail as a ...
1
vote
1answer
215 views

Can Not Start Glassfish 4.1 Server, Download, Unzip, Install, Windows 8.1

Before I start I wanted to say, I have to put a space in many of the links because I am new to superuser & have restrictions. You'll find the spaces http:// (HERE) localhost:4848/. I'm sorry for ...
0
votes
1answer
60 views

IOS-server doesn't start

I'm trying to start ios-server in order to use selenium: java -jar ~/Downloads/ios-server-standalone-0.6.6-SNAPSHOT.jar -aut ~/Downloads/InternationalMountains.app -port 6666 But it doesn't start: ...
-1
votes
1answer
43 views

Running jar file on Windows - Prompt user to download JRE

On OS X, when I try to run a .jar file, the system would ask me to download Java Runtime Engine if I don't have it installed, which makes sense. However, on Microsoft Windows, that doesn't happen; I ...
0
votes
1answer
87 views

Changing Java on my Mac to 8

I'm about to get back into java programming, so I downloaded the latest version of Java, Java 8 update 40. Now, my MacBook has seen better days, and who knows how many version of Java is in it. At ...
0
votes
0answers
31 views

Why Tomcat is Killed?

In Linux system which is an host account, Tomcat is Killed after start up and sometime middle of start up, it happens automatically. No log is shown, just Killed message is displayed. What could be ...