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

learn more… | top users | synonyms

-1
votes
0answers
24 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
15 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
18 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
votes
0answers
14 views

How to see my total points to check my progress in topcoder.com? [on hold]

Please tell me how can I see my total points which I have got from submitting codes for the problems? I am new in topcoder and I am doing practice room SRM problems.
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
17 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
19 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
1answer
23 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
17 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
10 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
17 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
16 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
30 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 ...
-2
votes
0answers
12 views

Where can I find examples of open-source code tree integrated with maven? [closed]

I am currently fooling around with testing principles, like api testing, ui and database testing with the help of junit, testng, selenium etc and would like to get my hands on a readily available ...
0
votes
0answers
10 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
36 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 ...
-1
votes
0answers
22 views

Create SSL TCP connection with java code to send string data [closed]

I am trying to performance test a server that uses SSL TCP socket communication. Need to send a string data to the server and validate the response back. Is there any way to perform this with java ...
0
votes
0answers
8 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
6 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
12 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
10 views

Making eclipse template beyond basic options [migrated]

How can I make an eclipse java code template somewhat like this format? log.debug("ClassName.methodName(varName1 [" + varName1 + "], varName2 [" + varName2 + "]", varNameN [" + varNameN + "]"); So ...
0
votes
0answers
10 views

What am I missing on my layout? I can't seem to get the sizes right [migrated]

I need to have a sidebar but my measures are all wrong. I can't get it to make them resizable and to have the right size. I want the JLabels to be left of their corresponding text fields and and the ...
0
votes
0answers
35 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
18 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 ...
-1
votes
0answers
23 views

Error message when trying to launch SQuirreL SQL Client

I wish to Install an editor to write SQL queries (the commands used to retrieve data from the DB) Configure a connection to the database in the editor so that you can query it What I have done: ...
0
votes
1answer
78 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
11 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
49 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 ...
0
votes
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 ...
0
votes
0answers
26 views

FFmpeg - Unrecognized option 'map [outv]' [migrated]

I am merging some video files with FFmpeg and having an issue with my custom build. I'm using the following Java code for wrapping the ffmpeg command: List<String> cmds = new ...
4
votes
1answer
140 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
32 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
9 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
20 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 ...
0
votes
1answer
188 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
31 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
43 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
84 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
31 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 ...
0
votes
0answers
38 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
19 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 ...
2
votes
1answer
104 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
48 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
33 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
34 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
53 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
1answer
144 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
1answer
18 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 ...