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

learn more… | top users | synonyms

0
votes
2answers
405 views

Error: Could not find or load main class(Java)

I am using java in ubuntu machine. I can run java program from my eclipse. But I have some work that that I have to perform from command prompt. I could compile java program using javac ...
0
votes
1answer
236 views

Does anyone have a copy of Oracle Java SE Critical Patch Update for Java 7.0.40.22 32-bit

I ran Belarc Advisor which advises me I am missing the Oracle Java SE Critical Patch Update for Java 7.0.40.22 32-bit (CpuOct2013-1899837). You need an Oracle support contract to obtain this patch. ...
1
vote
1answer
60 views

How to delete & deploy EAR archives in WinSCP?

I have a folder called XYZ.ear (folder icon) deployed in the server through WinScp. I want to delete this and also deploy a new ear file instead of the above folder. Is there any specific command ...
1
vote
0answers
42 views

Is it possible to install different versions of Java for browsers for seperate users in Windows

I have a peculiar situation. My dad uses the PC using a separate account (low privileges). He needs to be on the current version of Java 1.7.45 to run an applet on a specific non-public site. It has ...
0
votes
0answers
54 views

Passing Command Line Arguments to EXE

I am using the java jar utility which does not supoort extracting to specific directories via command line argument. Therefore, I need to cd into the folder I want the extracted jar files to go ...
0
votes
0answers
51 views

Running a Tomcat 6 with java 6 (1.6.0_39) on CentOS as limited user

The problem is binding to ports under 1024 with a non-root user. I've tried authbind, but it does not support multithreading, and our App spawn multiple threads, and some failed to bind ports. I've ...
0
votes
3answers
86 views

Linux distro for Java [closed]

I am setting up a server that will run multiple Java programs and requires Java 7. I am more familiar with Debian but have been advised that CentOS/RHEL has better 64bit Java 7 support. Is there any ...
0
votes
0answers
132 views

java applets crash firefox 27

I was playing around with java applet development today and exported my source code to a .jar file. Then I wrote a short html file that does nothing more than showing the java applet. When I try to ...
1
vote
0answers
160 views

Eclipse crashes after few minutes (Debian, Oracle JDK 7, Kepler, 64bit, RAP)

my eclipse keeps crashing on me after a few (3-5) minutes of use (that is: no crash if just open and I don't use it). Mostly when I try to save (that works at first) or when calling the completion ...
0
votes
1answer
168 views

How do I make a shell script that restarts a Java program every x minutes in Linux?

How do I make a script that restarts a java program every X minutes in Linux? I will be using: PHP A linux godaddy hosting account (classic, and I don't know what OS) a .sh script FTP (to access ...
0
votes
0answers
105 views

How to integration of Tomcat and Apache through mod_jk

On http://site.local/java/ need to execute jsp. apt-get update & apt-get upgrade apt-get install sun-java6-jdk \ tomcat6 tomcat6-admin tomcat6-common \ ...
0
votes
1answer
54 views

iterating bash script for cycle in a file

I try to make this very simple bash program that must make the following operations: modify a file java n times: every time I must change a single word in a single line of the file (the line is 11) ...
0
votes
0answers
230 views

Java doesn't work on Chrome

Please understand that this is not a duplicate of the other questions that I have seen so far. So basically, I installed Java on my system, and when I go to the Java website to let it detect the ...
0
votes
1answer
115 views

writing a batch file: having a batch insert a command into another cmd-based program

i'm trying to have my batch open another cmd based program, wait some time, then input some commands into the cmd-based program, but can't find any documentation on how to do it. this is the batch ...
1
vote
0answers
199 views

Wrong OEM while trying to use FlashTool. (Android Rooting)

I am trying to follow this link to install FlashTool so that I can root my Micromax Canavas HD. My Dev Enviornment is Ubuntu 12.04 LTE 64 bit with support libs for 32 architecture. I as well changed ...
1
vote
1answer
1k views

how to use two different versions of java in the same computer?

we have one java application which can work only on 1.6 and a website which works only on the latest java 1.7. We have both java installed on our computer. But unfortunately, it cannot detect ...
0
votes
0answers
273 views

screen: Must be connected to a terminal

I am running a Java program, and with the Java program, I run a Python script. The python script (with subprocess.Popen) runs the command screen -x hg1 -X stuff "jsp sign edit status1 2 test line ...
0
votes
1answer
100 views

SSH shell on a multicore supercomputer [closed]

I created a program on my 2 core laptop and I want to verify how my program performs when more than 2 cores are available for processing. Do anybody knows any free (or cheap) service where I can ...
0
votes
0answers
49 views

dependency error sun-java6-jre (zynamics bindiff) SOLVED

I am trying to install bindiff. When I try to install through archive manager I am welcomed by the following message "Dependency is not satisfiable: sun-java6-jre". (I am running ubuntu 12.10) I have ...
-2
votes
1answer
39 views

Your AHK script for javaw priority?

I would like to know something for minecraft. Following your post here : How can I automatically change the priority of Javaw.exe when loading Minecraft? . Which AHK script you used for change the ...
0
votes
0answers
23 views

Disabling overreaching Java permissions

There's a Java program I have to run that's extremely intrusive: disables the system clipboard, terminates when certain other programs are run (e.g. image editors), tries to prevent you from switching ...
1
vote
0answers
23 views

Java Exclusive MIDI usage workaround?

I'm using a java applet, Jalmus to be specific, that implements MIDI usage. Whenever Jalmus is running, MIDI Input works (Midi Out doesn't but I don't need that) however, when attempting to connect ...
0
votes
0answers
102 views

Is it possible to uninstall and remove jetty in ubuntu?

Is it possible to remove and uninstall Jetty in ubuntu? I tried, as root, apt-get --purge remove jetty I got errors including this, E: Sub-process /usr/bin/dpkg returned an error code (1). And ...
0
votes
1answer
552 views

Environment variable for JETTY_HOME not working

I added an environment variable for jetty following this answer but I still get JETTY_HOME not set error: root@b:/opt# echo $JETTY_HOME /opt/jetty root@b:/opt# service jetty start ** ERROR: ...
2
votes
1answer
66 views

How do I get rid of a “bin” folder that keeps recreating itself?

I've recently used Eclipse on my Windows 8 64-bit laptop. Now as far as I know, Eclipse doesn't really need to be installed - just copy-pasted. Now, during the first use, Eclipse asks me where to put ...
0
votes
1answer
182 views

How can I get the latest Java version jre-7u45 to work on Win8 with IE10

I have Windows 8 and recently upgraded to internet explorer 10. (For some reason I can't connect to the windows store to obtain Win 8.1. I keep getting a message telling me to try later, but that's ...
0
votes
0answers
161 views

ubuntu 13.10 run chrome with oracle(sun) jdk1.7 32 bit and not 64 bit

I have (manually downloaded and extracted) both jdk 1.7 32 and 64 bit in two folders. I want chrome to run applets with jdk1.7 32 bit unfortunately it keeps asking me to install java plugin when i ...
-1
votes
2answers
53 views

How do I enable Java in my browsers

I uninstalled Java using Add/Remove Progams, rebooted then installed Java from their website. The installation was successful but the plugin isn't activated in any browser, IE, Firefox or Chrome. ...
0
votes
0answers
26 views

How to use Microsoft word as portable application?

I installed Microsoft word in my server machine. I share that installed drive that means i give full rights to that drive, The clients of my domain user can access that drive. Is is possible to use ...
0
votes
1answer
122 views

Java 7 on OSX, how to run it?

I just installed Java 7 on OS X 10.9 from here. However, when I run java -version I still get 1.6.0_65. Also, in /System/Library/Java/JavaVirtualMachines I only see 1.6.0.jdk. How do I tell OS X to ...
-1
votes
1answer
640 views

Link to download java 1.6.0_26 version for windows 64 bit machine

I want to download java version 1.6.0_26 for my windows 64 bit machine.Can somebody provide link for it ?
0
votes
0answers
22 views

Prevent user from linking our elf files other than our eclipse product

We have developed eclipse product based on Eclipse CDT. User simply writes code in C. It is compiled and linked with our custom elf files. We want to prevent user from linking user's C code with our ...
0
votes
0answers
65 views

Windows .exe file icon changes when file name is changed?

I'm making a program in Java. After I make the program and compile it into a .jar file, I wrap it in a .exe file (yes, I know this defeats the purpose of cross-platform but I am most comfortable with ...
0
votes
0answers
62 views

Unblock Java applet after a Java update blocks it for security reasons

There is a Java applet that I use often. It resides on a web page served from an embedded device. When I run the applet, I get a notification that "This application will be blocked in a future Java ...
0
votes
1answer
49 views

How to Restore Java on Snow Leopard?

I tried to install Java 7 on my Macbook running Snow Leopard following the instruction detailed here: ...
-2
votes
1answer
36 views

Random shuffling of String array [closed]

I need to randomly shuffle the following String Array: String[] cardsSet1 = {"Name1", "Name2", "Name3"}; Is there any way to do that
1
vote
3answers
44 views

what's the meaning of ^@, ^I and $ in vi?

When I try to use Context.write(k,v) in MapReduce(using Java) to write data to a file ,I find the following contents in file(opened with vi, have :set list): ^@R^@u^@n^@^I1$ ^@a^@c^@c^@e^@s^@s^@^I1$ ...
0
votes
1answer
131 views

mount a cifs share without root/fstab

Hello is it possible to mount a samba share without root privileges? Currently I have a java program that needs to access a smb share. (it will index every file on the smb share and will create some ...
0
votes
0answers
19 views

Error on running tmt jar file

I am trying to run Stanford Topic Modeling tool. I have Windows 7 and java 1.7 version. I downloaded the jar file and trying to run it by various options- Double click on the jar file - nothing ...
0
votes
2answers
398 views

How to uninstall the JDK after deleting it's files?

I wanted to install the JDK, but when I try to, It says: This software has already been installed on your computer. Would you like to reinstall it? I press yes. Preparing to remove... ...
0
votes
1answer
25 views

Developing and deploying java application

I've been programming in Java for some time and was trying to develop something that I can 'deploy'. I search online for ways of bundling my java program(s) in installable "packages" but can't find ...
-1
votes
2answers
73 views

Autobahn Java Echo server [closed]

I want to set up Autobahn java server for Android and Iphone client. Basically, we need to set up websocket server for Android and Iphone for bidirectional communication without any n/w disconnection. ...
1
vote
2answers
400 views

MATLAB is not working because of Java

I use Windows 7 x64. I have installed MATLAB 2010a to my computer. After running only the splash screen shows up for a while then program quits. I have found an error log and the first lines of the ...
2
votes
1answer
297 views

Upstart: unrecognized service (CentOS 6.4)

I have created an upstart service from this gist. I put it into: [andrey@vm01 ~]$ ll /etc/init/play.conf -rw-r--r--. 1 root root 1255 Dec 1 20:50 /etc/init/play.conf I also installed upstart, as ...
0
votes
2answers
355 views

Can Chromebooks be used to execute Java or other programs?

I am planning to buy a Chromebook for academic purposes however I cannot seem to find a concrete answer for my question: Is it possible to execute Java programs, Groovy Scripts, etc on a Chromebook ? ...
0
votes
0answers
107 views

Installing openJDK7 on Debian 7.2

I want to install OpenJDK 7 on Debian 7.2 using apt-get; but apt-get shows too much dependency for this package: acl ca-certificates-java colord consolekit cryptsetup-bin dbus dbus-x11 ...
0
votes
1answer
83 views

Community version of Visual Paradigm has disabled code generation

I've succesfully integrated Visual Paradigm - Community edition in Eclipse (Kepler). I used this tutorial, the problem is that when I created the class in modeling tool, the button "Update code" is ...
4
votes
1answer
3k views

How can I set environment variables for GUI apps in OS X Mavericks?

I've been struggling to get an app to run in OS X Mavericks. I finally was able to get it to run by drilling into the .app bundle and running the shell script directly. It seems that JAVA_HOME needed ...
0
votes
0answers
148 views

How to get the week date range , month date range, year date range with the selected date from the calendar

Could you please help to find a solution using Joda time or in Java to get get the week date range , month date range, year date range with the selected date from the calendar for example if i ...
2
votes
2answers
259 views

How to know if I am using Java EE?

Today I installed Java EE by downloading the .sh file from the official Oracle source and running it using the sudo sh filename.sh command. However, I have several versions of Java in my Linux Mint ...