Tagged Questions

Usage of this tag should be limited to questions about the Java Runtime, programs that use it, or software used to develop for Java. Any questions about Java as a language should be asked on Stack Overflow. Programming language originally developed by James Gosling at Sun Microsystems. Related to ...

learn more… | top users | synonyms

-1
votes
0answers
32 views

Writing a java program to remove the comments in same java program.? [closed]

I am Writing a java program to remove the comments in same java program. I am thinking of using a file reader. But I'm not sure whether it will work. Because two process will be using the same file. ...
0
votes
8answers
45 views

How to schedule a java program to run Every day?

How can I schedule my java program(core java file) to run every day at a particular time? I want to schedule it in a Linux server and what is the same for Windows?
0
votes
0answers
27 views

How can I improve or wrap my sed-script?

I instrumented a mvn build to emit profiling data, which I want to analyse later on. Therefore, I made the sed script below, to generate json-data from the profilers output. I call the script with ...
1
vote
0answers
25 views

How to install R with homebrew with Java support?

I have been trying to install the R language with Homebrew but when I install Java packages like iplots I get the following error: * installing *source* package ‘iplots’ ... ** R ** inst ** preparing ...
0
votes
1answer
22 views

Optimal way to export JDK_HOME setting in openSUSE for use with PhpStorm?

I'm trying out PHPStorm on openSUSE, and it requires the Sun Java JDK which doesn't come by default. I installed the Sun JDK based on directions here. I can run PHPStorm file as root user after that ...
0
votes
0answers
19 views

Processing web requests in Java desktop application through tor network?

I write Java desktop applications sometimes and sometimes I would like for my web requests to be processed through the tor network. How can I go about configuring this properly in Windows and/or ...
0
votes
1answer
38 views

Java programs wont run in Ubuntu

I have downloaded the java jdk in the terminal window of Ubunutu. I am trying to trace the number of system calls a No-op java program runs for my computer science class. the program looks like so: ...
1
vote
0answers
20 views

Eclipse Run Configurations

Let's say I'm working on File1 in eclipse, which is some java class. When I hit F11, File2 runs. I want a different file, let's call it File3, to run. How do I do this? EDIT: Should this be moved to ...
1
vote
3answers
53 views

X Window Server for running GUI tools

We are a software shop that writes a lot of Java code. Most of our Java app servers are CentOS boxes hosted at a remote data center. Whenever we need to get into those machines and sift around we ...
-1
votes
0answers
16 views

Cloud Storage App for Feature Phones [closed]

Is there any java mobile app for storing files to the cloud on feature phones? I have a Samsung Corby 2 (GT S3850). It supports Java (MIDP 2.1) and wi-fi enabled. I'm looking for apps that works like ...
2
votes
1answer
54 views

How can I ensure I'm using JDK version 1.6?

Before I installed Java JDK1.6 on WinXP machine I typed from the CMD line c:\javac 'javac' is not recognized as internal command ... Here I concluded I did not have a JDK installation on my PC So, ...
1
vote
0answers
18 views

Java Thread stopping execution where it shouldn't be [migrated]

I am writing a content distribution network in java. I have a Link class to manage sockets between two nodes in the system. There are two programs, RouterNode and DiscoveryNode. When a router node ...
0
votes
0answers
8 views

How to return a double-clicked TreeTableNode? [migrated]

I'm working with Eclipse and I've got a question about TreeTables. The tree has several layers, so it's a bit nested. I want a window, showing some information about the node, to pop up, when a node ...
2
votes
1answer
72 views

Java's installed, but getting “Could not create the Java virtual machine”

Trying to install: http://syedrezaali.com/code/SuperShape2D.zip from... http://www.syedrezaali.com/blog/?p=1119 ...on WindowsXP and Windows7 machine and keep getting an error: "Could not create the ...
1
vote
1answer
35 views

How to access a proxy set up through godaddy hosting

What port number and what IP address would the proxy server have if I installed a CGI script in the CGI folder of a hosting account through GoDaddy? (I'm using jmarshall's CGI proxy) Would it just be ...
0
votes
1answer
46 views

How to map webdav folder seamlessly in windows

I have a webdav folder (generated by java webdav server), which I can access via "My network places" on WinXp (after mapping). I would like for the user to see it via "My Computer" as a system folder ...
0
votes
1answer
209 views

SQL Developer Error Messages: “Enter the full pathname for java.exe” and “Cannot find a J2SE SDK installed at path”

Yesterday, I downloaded SQL Developer 3 with SDK and was able to use it just fine. After shutting down my PC last night and booting it up again this morning, every time I try to run it, I get this ...
0
votes
0answers
36 views

Running java-dependant program in Wine

We are required to use a program to do an English test and the program is only available for Windows. I thought I could port it using Wineskin, Winebottler or open it via Crossover - but no luck. I ...
0
votes
1answer
64 views

How do I select 32-bit Java for use by any browser on my Mac?

I would like to use a banking application in my browser. When I try to run it, I get this dialog box: It appears you are using 64-bit Java. This system is designed for 32-bit Java only. Please ...
2
votes
1answer
78 views

Application prompts me to install JRE higher than 1.4, but I have 1.7 installed

There is a JRE 1.7 on my Windows XP machine. The java -version command says that I have 1.7.0_02. By launching an .exe file, I want to install an internet banking software that uses Java, but it ...
2
votes
0answers
90 views

Can I run a 32bit Java app on a 64bit platform?

I have an old Java app which has been compiled for the 32bit platform. I've moved from Windows XP (32bit) to OS X Snow Leopard (64bit) and I'd like to continue using this app, however I'm getting an ...
0
votes
1answer
39 views

run program packed in sh file

I downloaded jgit packed in sh file and ran it in mingw. I watched in process list that java process was started just with main class and parameters "c:\Program Files\Java\jdk1.6.0_26\bin\java.exe" ...
0
votes
1answer
39 views

Eclipse using huge amount of System Memory

I have a sophisticated workspace set up with many eclipse projects in my workspace directory. In total the size of workspace directory is just over a gig, with the .svn directory from subversion a ...
-2
votes
0answers
67 views

What are some solutions for converting a .class file to a .Java file? [closed]

recently I have lost my project which left me only class files of the project. Could anyone please tell me a best tool for converting .class files to .Java files. NOTE: I've already used jd-gui tool ...
3
votes
1answer
43 views

Significance of OpenJDK being Java 7 Reference?

I have read the announcement of "Moving to OpenJDK as the official Java SE 7 Reference". I know that Sun Java will now be OpenJDK + extra proprietary bits, however I am unsure of how this will ...
0
votes
0answers
12 views

Can't create Java Web Application in NetBeans [migrated]

I want to write a java web application using NetBeans 7.0.1, but i can't find the option Java Web in File -> New Project. Do i need to get any special Java edition to do that?
3
votes
3answers
106 views

Force reaping of java zombie processes on OS X 10.7

I have CrashPlan running on my MacBook Pro, and it went a little haywire. Essentially, it caused a fork bomb. Fortunately, I had an open Terminal window and was able to run this command: sudo ...
-1
votes
1answer
113 views

Free alternatives to Java YourKit profiler [closed]

I really like YourKit Java profiler because it is easy to use and integrates nice with Eclipse. The sad part is I can not afford a license. Are there any java developers out there that are using open ...
0
votes
1answer
45 views

Java services stop working when user logs out

Some background: I have four apps that run as services on a set of Windows XP machines, two of which are java apps. All four apps were originally designed to be run from a Linux server, and have ...
0
votes
0answers
78 views

Windows 7 x64 with RAM volume 4GB hangs on when file upload in Java servlet is started

It is actually not the coding but mostly configuration question. I have : Windows 7 x64 ASUS P5KC motherboard GeForce 6800 GT RAM 4GB Previously i had 2 slots of RAM memory by 1GB and all worked ...
2
votes
2answers
98 views

Disable Java Hardware Acceleration in windows?

I have some issues with my graphics card and I want to disable Hardware Acceleration for java apps. Everything that uses HA is displayed blurry. I've seen some tutorials on how to set this parameter ...
0
votes
1answer
132 views

Which multi-threaded PaaS offering for Java/Scala or C++ [closed]

I would like to know how you actually "run an application in the cloud" (if you allow me this expression). I took a look at Eucalyptus and OpenStack and still haven't understood this. They seems to me ...
2
votes
1answer
97 views

Streaming Desktop using FFMPEG in windows

How to stream Desktop using FFMPEG in windows?? I have tried ffmpeg -list_devices true -f dshow -i dummy and after that this to stream ffmpeg -f dshow -i video="Chicony USB 2.0 Camera" -r 30 ...
0
votes
0answers
73 views

STDOUT redirection to a file does not work if Groovy script run directly from command line (.groovy in PATHEXT)

I've updated the title, please see update below for the reason. I have asked this question on Stackoverflow, but still didn't receive an answer. Groovy: redirect stdout to a file does not work. ...
3
votes
1answer
100 views

Why do Java and Flash not use Windows Update? [closed]

Windows Update should be the central way to update any software on Windows, but it only updates Microsoft stuff. Java and Flash use independent ways to update. Flash is annoying when it opens a ...
2
votes
1answer
169 views

Unknown issues installing jdk

I'm trying to install the latest jdk (7u2) onto my Windows XP laptop and for some reason when I double-click the jdk-7u12-windows-i586.exe, no automatic pop up comes out like how I expect it to for ...
2
votes
1answer
52 views

jdk not being picked up by vista, but the path is correct

Here is my path : C:\Program Files\ICW>path PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\Program Files\Mi crosoft SQL Server\90\Tools\binn\C:\Program ...
0
votes
0answers
37 views

How do I setup Java OpenID Server (JOIDS)?

I'm stuck on this step: Then you should modify the file in $CATALINA_BASE/conf/[enginename]/[hostname]/, especially the database and mail configurations, and the password for domain configurator(the ...
1
vote
0answers
32 views

Detect Java in chrome

A vBulletin site I manage has been infected by some malware, it tries to run a java applet. Is there a way I can get chrome to show me where in the source the applet is coming from so I can remove it? ...
1
vote
0answers
142 views

installing jdk1.7.0 on Ubuntu 11.04 machine

I am facing a problem while trying to install Java 7 on Ubuntu. The following are the steps that I performed for installing: I installed the setup file from the link given below: wget ...
1
vote
0answers
68 views

Java install appears to be broken

I installed JDK x64 for an application that required it to run. It turned out that that application needed x86, so I deleted x64 (it was not in Win7's list of installed software) and installed x86. ...
2
votes
3answers
1k views

Why there is no sun-java in Debian Wheezy and how can I fix this?

Sun's java is in Debian Lenny and Debian Squeeze repos (non-free) but no in wheezy1,2. Why? edit: after further research I found that java has been removed. reson: ROM; security issues and newer ...
5
votes
1answer
122 views

Fooling a program to think the Windows XP theme is different

I love using light-text-on-dark-background color schemes for as many programs as I can. However, I don't use a light-on-dark theme for Windows XP itself, because many Windows programs do not play ...
1
vote
1answer
42 views

JGroups hangs at GMS: address is

On starting the Alfresco service it hangs at this line when, AIUI JGroups is attempting to join the cluster. Left for half an hour it didn't timeout and move on. Any suggestions as to what might ...
2
votes
0answers
181 views

Java plug-in runs only for administrators in Firefox 8

I had Firefox 3.6 installed on a Windows XP with the Java plugin working fine. I then installed Firefox 8 and now the Java plug-in only works for users with admin privileges. The Add-Ons -> Plugins ...
0
votes
1answer
152 views

Install java on Linux through shell without apt-get

I'd like to run multicraft on one of my servers. After some intensive debugging/installing I realised the server didn't yet have a Java Runtime Environment. I figured it would be easy to install, but ...
0
votes
0answers
118 views

How do I create a PDF to use as a template with PDFBox?

I've already used iReport/JasperReport, iNetDesigner and others reporting systems with dedicated editor. For a new project, I'm trying to get a template with placeholder like $NAME$, then ...
0
votes
0answers
145 views

Microsoft JScript compilation error

For the past month until now, I'm getting the follow dialog from time to time. Probably few times a week. I'm running Windows 7 Ultimate x64 SP1 with all latest updates, and Java 6U29 (1.6.0_29-b11) ...
0
votes
0answers
19 views

Java thread dump from command line - output to file?

I have heard of kill -3 , etc. What is the definite way to get a java thread dump and have it output to a file? tia.
1
vote
1answer
61 views

change installed version of icedtea

I've installed openJDK6 64-bit server on my ubuntu image running in a VM. I installed it here in order to do some testing in comparison with our production environment. however, our production ...

1 2 3 4 5 10