Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I'm on this for a really long time. I need to have JRE 6 running on a new nonactivated Windows server 2019 essentials to be able to use a very old remote controller for some servers (old IBM & DELL racks).
No matter what version of java I install, it's just not running. I don't see it in the bottom right corner or in the running services. I know it seems very basic but I couldn't find a solution online.
Am I missing something? All I could find online is suggestions to add java to the environment variables but that is for a different issue. I tried it desperately but of course it didn't solve the problem.
Java, or more precisely the Java Virtual Machine (JVM), is not something that runs in the background. JVM is used to start specific applications. How the java.exe or similar executable will be resolved and invoked will depend on the specific application.
What you usually see in the Windows task tray area is a the Java update checker (Jucheck.exe). Whether or not this service is present will depend on selected installation options. It also might be that a very old Java 6 simply does not ship it.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have java 6 installed in one of my servers running application x. Now I was giving application y that is supposed to run in the same server. However, they "forgot" to tell me that application y needs java 7, not 6.
After reading a bit on the internet, I realized that it's possible to run multiple versions of java in the same windows box, but I cannot make sense of what to do with the environment variable and how it know when to use java 6 or 7. Does anyone either know what I need to do or of a website where I could find good information?
Thank you!
Do not rely on JAVA_HOME environment variables, most applications can be run using an absolute path. You don't even need to run Java setup.exe on server machine. This quarantees you don't accidentally get Java browser Plugin and version controlling is easier.
Run Java6 and Java7 setup.exe in one machine say your personal laptop
Go to c:\program files\Java\Java_xxx folder and zip it
Unzip to a server, say c:\java\Java_xxx folder, you should see Java_xxx\bin\java.exe file
Uninstall Java6 and Java7 from laptop if you don't need it
Server machine may not need JAVA_HOME envvar to mess versions up
Use JavaJRE or JavaSDK both are fine or side by side everything
Run java application using an absolute path, you may create a shortcut or .bat script to run application.
c:\java\Java_xxx\bin\java.exe -cp ./lib/myapp.jar;./classes com.package.MyAppMain param1 param2
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm interested, is there any good method for running java programms (for example tests) at any specific time on Windows?
Just can't find anything good as of now.
You can either:
Schedule java programs externally
For example via Windows Task Scheduler, windows version of crontab, etc. The scheduler invokes a script which runs your java program.
Schedule java programs inside the jvm
For example quartz scheduler. Your java program is running all the time, and it "wakes up" to perform specific actions.
Integrate into a specific tool
Since you mention running tests you could configure them to run in Jenkins.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I want to set up java/jsp environment in digitalocean VPS. I need help with that. I found help in digitalocean community but I want to know that which os is best for jsp and tomcat? And also the version of OS. I saw that tomcat is accessible at port 8080 so is there any option that i can access my site at port 80 or something like domain.com/index.jsp instead of domain.com:8080/indes.jsp?
I am still learning java and jsp so for that I need help to set up.
Tomcat can run on almost any OS, so choose one you are experienced and comfortable with. There's been a tendency to go with CentOS for server deployment, but as far as I'm aware no strong justification for choosing this over Ubuntu. Use whichever version is the most recent released version - for Ubuntu that's 14.04. DigitalOcean provide a variety of images and they're likely to be up to date and well supported.
Tomcat can be setup to run on any port you want, including 80. There are loads of guides to this, here's one that looks comprehensive: http://java-notes.com/index.php/installing-tomcat-with-http-port-80-on-linux
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I need to download a particular version of the Java JDK, so I'm going to Oracle's website to do so. When I click any of the links to begin downloading a JDK, I get the following error message from my browser:
This is probably not the site you are looking for!
You attempted to reach download.oracle.com, but instead you actually reached a server identifying itself as a248.e.akamai.net. This may be caused by a misconfiguration on the server or by something more serious. An attacker on your network could be trying to get you to visit a fake (and potentially harmful) version of download.oracle.com.
You should not proceed, especially if you have never seen this warning before for this site.
Is this normal (i.e., does Oracle use akamai.net to host its JDK distributions), or does this suggest that Oracle or I are being attacked?
Neither Sun nor Oracle has ever used third parties to host JDK downloads in my experience since 1997.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
We were/are stung by the new security baseline requirement with Java's release of 7u45, which caused our applet not work until the end user adjusted the security settings the java control panel (see discussion in below question)
Java applet manifest - Allow all Caller-Allowable-Codebase
If possible we'd like to put a process in place where we can proactively test new jdk releases.
Oracle / Sun appears to offer a way to get notified about this.
http://www.oracle.com/technetwork/java/index-jsp-137266.html
CAP (Compatibility and Performance Program) is an early access program for Java Standard Edition (Java SE). As part of our ongoing work to assure that new releases of Java SE are compatible, robust and fast we are creating this early program designed to give key developers early access to our newest releases. This program is not open to the general public.
The above url says this is not open to the public and does not provide a way to sign up. I've been digging for a bit to find this and have so far been unsuccessful.
Thanks for any help (I'll update this if I find out more)
Regards
G