Questions tagged [java]
Widely-used object-oriented programming language, emphasizing portability. Questions about programming with Java are off topic and should be asked on stackoverflow.com.
2,375
questions
0
votes
1
answer
349
views
I accidentally clicked never allow java to run a game from steam and now it wont ask again
I downloaded a game from steam and it came up with a java pop-up and I wasn't thinking and clicked never allow. Now it won't start the game and I cant figure out how to get it to pop up the java thing ...
-1
votes
2
answers
2k
views
How do I set up JRE 8 on OS X?
I'm running OS X Lion. It comes with JRE6. I'd like to install JRE8. I can download a file that Oracle says is JRE 8 here:
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-...
0
votes
1
answer
840
views
Java service won't start when using srvany.exe and Java 8
I have a couple of Java applications that I run as services on my work machine using srvany.exe. After resolving a previous issue, this system hasn't caused any major problems for us. However, after ...
2
votes
0
answers
3k
views
Running Java program from PowerShell starts a 64-bit JVM: From .bat file, starts 32-bit JVM
I am trying to start a Java application from a batch file, with a 2G heap size, like so:
java -Xmx2G -XX:MaxPermSize=256M -jar cauldron-1.7.10-1.1236.05.212-server.jar nogui
When running this ...
1
vote
0
answers
213
views
I am not able to access a shared folder data from a remote IP address
File file = new File("//192.168.1.100/sharename/sharefolder/User2.jpeg");
System.out.println(""+file.exists());
I am not able to access file named "User2.jpg" available on given IP address from Java ...
0
votes
0
answers
996
views
Java 8 installation doesn't yield the correct javac version
I am using Mac version 10.9.5. I had a pre-existing JDK 7 installation (1.7.0_51). I decided to install try out Java 8 and downloaded the latest JDK (jdk-8u25-macosx-x64.dmg) from Oracle site.
Next, ...
1
vote
1
answer
975
views
Can't connect to tomcat7 from public ip
I posted this question on stackoverflow and was recommended to ask here instead.
I've been struggling with this issue for the past two days and am hoping someone here can help me out. I have a ...
0
votes
1
answer
6k
views
Java is blocking all proxmox consoles. I can't add it to the site exception list
I cannot run a Proxmox console on Windows 7, as Java keeps blocking the page.
The URL for it is https://proxmox.dis:8006 (.dis being our local domain name).
Typically I just need to add the ...
10
votes
2
answers
8k
views
How to use ctags and vim to jump to java methods
This used to work before I upgraded my Ubuntu system:
ctags *.java
vim -t fooFunc
Which would then take me to e.g. Foo.fooFunc()
But now, vim goes to the standard "tag not found" page.
I now have ...
4
votes
1
answer
3k
views
Java Web Start seg faults when run with no arguments
We are using Java Web Start to run our java application from our webpage. When the jnlp link is clicked the jnlp is downloaded but nothing happens. No error, no popup, nothing.
Running manually for ...
0
votes
1
answer
949
views
Running multiple Java versions on single Linux machine
My Linux machine with JRE 6 (1.6.0.35) is running a Java application. I am working on SCTP support in JRE 7 (not supported in JRE 6 and not supported on Windows), so I want to test a simple Java ...
1
vote
1
answer
250
views
Need latest Java in Linux environment
I need some help with Java in a Linux environment. Quick background: we have Verizon FIOS and some of their services require use of their web site. We experienced all kinds of random web site ...
0
votes
1
answer
178
views
How can I isolate a JPNLP (web deploy) Java version from other, legacy versions on the computer?
I have a JNLP that runs the following shortcut when installing:
C:\Program Files (x86)\Java\jre1.8.0_25\bin\javaws.exe" -localfile
C:\Users\akelly\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\42\...
0
votes
3
answers
9k
views
allow java plugin on internet explorer
I have customers who can't properly access their web application requiring java plugin to be enabled on internet explorer. This application requires the latest version ov java running (8u25 at the ...
0
votes
1
answer
171
views
Hangs of Lotus Notes (composite) mail for several seconds - how to debug
Question: How can I profile Java part of composite application in Lotus Notes client (based on Eclipse/OSGi)?
Background:
Opening any document from view (does not matter which one: it happens in ...
0
votes
1
answer
2k
views
phpMyAdmin used by java application
I have a MySQL database running at a site using phpMyAdmin. My problem is that I want to use this database inside a Java application which runs as a regular, non browser, application. The problem is ...
1
vote
1
answer
47
views
I keep getting a msg saying that OSX can't run a Java app because I don't have java installed
I keep getting a msg saying that OSX can't run a Java app because I don't have java installed. How do I find out what app it is trying to run? This began happening after updating to Yosemite, so it ...
0
votes
1
answer
2k
views
Remote access to a windows XP Embedded system running a Java based HMI Screen
What options are available to me to be able to get remote access to a Windows XP Embedded machine that is being used as a machine interface (HMI, GUI) the HMI is running a Java based software and I ...
-1
votes
1
answer
4k
views
Java runtime environment path issues
I've had a problem with my Java installations for quite some time and I've never had time to sit and try to fix this problem.
So I went ahead and uninstalled all the various versions of Java I'd ...
0
votes
0
answers
204
views
Credit card reader gives random output
I bought a cheap $10 magnetic card reader online. It identifies as a generic keyboard, and as such should work on anything that accepts USB keyboards. It works just fine on Windows, but on Linux and ...
1
vote
2
answers
1k
views
xmodmap remapping doesn't work in java swing applications (like Intellij-IDEA)
I created a .Xmodmap file to remap my Caps_Lock to Mode_switch.
This allows me to reassign my Arrow/Navigation Block of the keyboard to the home row.
Everything worked fine, until I realized, that ...
2
votes
2
answers
15k
views
About adding many sites with only different ports to Java Exception Site List
After update Java to Java 8 update 25, the Medium security level has been removed from the Java Control Panel. I am a TA and need to browse many sites from the students. These sites contain Java ...
1
vote
1
answer
1k
views
Switching JRE version
I have JDK 1.8.0_05 64 bit, 1.6.0_45 64 bit and 1.6.0_39 32 bit versions installed on a same machine. I am using this machine for Android app development and it was working fine with Native Android ...
1
vote
0
answers
43
views
Switching to Oracle Java?
I am on CentOS 7.
By default, it comes with OpenJDK and icedtea. Then I installed Oracle's JDK 7 rpm (from its official website)
When I try to open a jnlp file through chrome, chrome always uses ...
1
vote
0
answers
634
views
Totally Disable Java 8 Security
Ever since Java 8, running java requires going through the java control panel, adding an exception to the site list, and restarting firefox. And even with an exception in the site list, it still ...
0
votes
1
answer
1k
views
How to uninstall Java version 1.4
I would like to asks a question about how to uninstall my old version of java(1.4.2_06) if it is not shown in add/remove in control panel? I'm using windows xp. I already uninstalled all my java that ...
8
votes
2
answers
5k
views
What are the rationales behind that Java does not overwrite / remove its older updates after each update?
Can I uninstall the older updates?
Regarding updates, I am referring to those Update 1, Update 2, e.g. Java 7 Update 1, Java 7 Update 2, and so on.
I am speaking with respect to Java for Windows.
3
votes
1
answer
2k
views
Java Control Panel does not show installed java runtime
I installed the Java 8 64bit runtime in parallel to a Java 7 64bit runtime on my Windows 7 machine.
Now the Java Control Panel does not list any runtime in the tab "Java" any more. Specifically, the "...
0
votes
0
answers
1k
views
Ugly fonts in IntelliJ IDEA Community Edition 14.0 Windows 8.1
I use macType Which renders fonts beautifully elsewhere.
I tried to configure through options
-Dawt.useSystemAAFontSettings = On
-Dswing.aatext = True
but nothing helped. In general InteliJ not see ...
2
votes
1
answer
1k
views
Why is Java JRE running on my computer?
I have noticed that Java JRE is running on my computer. This even if there is seemingly no program that needs Java support. The questions are:
How can I find out if there are any active (or inactive) ...
1
vote
0
answers
459
views
Java 8 Update 25: Security settings won't allow a website even after adding to the list
I've been attempting to allow a website to run an unsigned applet, and even after multiple re-installs and security changes, Java still informs me upon launching the applet that security settings aren'...
0
votes
2
answers
68
views
Local java package on linux
I'm trying to set my local java package as default one
I've already exported path of local java to bashrc.user file
export JAVA_HOME=~/java7_latest/bin/java
export PATH=$PATH:~/java7_latest/bin
...
2
votes
1
answer
5k
views
How EXACTLY does Firefox choose a java version?
I have two version of Java installed:
C:\Program Files (x86)\Java\jre7\bin\javaw.exe (1.7.0_51)
C:\Java\bin\javaw.exe (1.6.0_38)
I want Firefox to use the latter (don't ...
2
votes
1
answer
704
views
Dynamic variable substitution in PATH
I want to run different versions of Java on the same machine (Linux Mint 17) with default to Java 7. So I put this into /etc/environment:
JAVA_HOME="/tools/java/java7"
JAVA7_HOME="/tools/java/java7"
...
2
votes
0
answers
193
views
Norton Antivirus blocks JVisualVM Profiler
I'm going to contact Windows support and my Norton antivirus provider tomorrow, but I'd like some help if anyone else has experienced a similar issue.
I'm using JVisualVM my first time today in an ...
1
vote
0
answers
45
views
Can I install Java and turn it off?
Question:
Can I turn Java on and off so that it is only active when I consciously choose it ?
Background (Long version of story if needed)...
Hard drive failed.
Put a new one on.
Decided against ...
0
votes
0
answers
29
views
Configure Firefox to use non-default Java installation [duplicate]
I am using a 64-bit Java 7 installation on Windows 7 64-bit. As per this thread, I was having trouble enabling Java applets to run inside Firefox just to find out that the 32-bit Firefox does not ...
0
votes
1
answer
1k
views
Firefox 33 doesn't see Java Plugin
I am trying to enable Java (not JavaScript) in my Firefox v. 33 so that I can use applets within the browser. Currently, I just get a dark gray box across the whole screen when I try to load an ...
1
vote
1
answer
4k
views
Weblogic setEnv properties on Yosemite do not work
I am trying to use the WLST script tool from weblogic i have the following output
cd /Users/cris/Oracle/Middleware/Oracle_Home/wlserver/server/bin
Last login: Fri Nov 14 12:53:42 on ttys002
Cristians-...
0
votes
1
answer
788
views
I uninstalled Java 1.5 but it still shows in Control Panel, and in Program Files directory?
I have uninstalled Java using the Control Panel > Uninstall or Change a program However I still see the Java option in the Control Panel and I still have directory c:\Program Files\Java\
I can ...
0
votes
1
answer
260
views
What is the difference between using "nbtstat -a IP" and "getmac /s IP"?
when trying to retrieve the MAC of a remote client connecting to a tomcat server running in a intranet, I would like to know which of these two is more suitable for this scenario. running nbtstat has ...
1
vote
1
answer
936
views
Are old Java(TM) 6 Updates safe to remove?
I have a PC that when you list the programs installed on it shows:
Java(TM) 6 Update 2
Java(TM) 6 Update 3
Java(TM) 6 Update 5
Java(TM) 6 Update 7
Java(TM) 6 Update 39
Is it safe to ...
0
votes
0
answers
106
views
Why java process keeps on sending and receiving packets thereby consuming internet continuously?
I was just having a look at my network activity as my internet bill for the month was way beyond my reach and i found that the java process in my mac has been continuously sending and receiving data ...
1
vote
2
answers
139
views
Unexpected behavior when using screen with init.d
I added a shell script in startup with the following command:
su - root -c "/usr/bin/screen -dmS SomeServer java -jar /home/SomeServer.jar"
When I normally run this command, screen is created & ...
0
votes
1
answer
589
views
Chrome doesn't recognize that I already have Java installed
I've installed the latest JDK which also installs the JRE (1.8.0.25) The paths all seem to be set fine and Eclipse runs just fine.
But my browsers do not recognize that Java is installed and want me ...
0
votes
0
answers
345
views
error could not find or load main class (windows 7)
I have downloaded jre1.8 on top of jre1.6. After downloading the jre8 when I run a java program it shows the error could not load main class. What can I do?
2
votes
1
answer
1k
views
Restoring .Java file association
Today I updated intellij 14 and by mistake told it to associate with .java
I've since been unable to restore the .java file association after a number of attempts based on information found from ...
0
votes
0
answers
1k
views
Is there a mininimum font size setting for Anti-Aliasing for Java apps like Android Studio
When I try to use choose a font for the editor in Android Studio, it doesn't apply Anti-Aliasing on fonts for smaller sizes.
With the Ubuntu Mono font Anti-Aliasing only appears after size 20, other ...
1
vote
1
answer
10k
views
Using Java to run Applet on localhost is blocked
I am using a local web server on my computer to test a jar file that I am going to use the Java Network Launch Protocol (JNLP) to use that is going to be included in my website, but I am having a ...
1
vote
1
answer
677
views
install glassfish independently, or from netbeans?
I'm running Ubuntu on a desktop and laptop, and use Netbeans as an IDE. On the desktop, $/glassfish-4.1 has everything configured properly. I may have copied a JAR for MySQL over to the libs folder, ...