I found  on this that is outdated and doesn't give a non-interactive way to do this. If you need to upgrade from Java 7 to Java 8 to run Jenkins, or whatever other Java application, you can do that by plugging this into a user_data script for Amazon Linux
I tried sudo yum update but it just keeps java "1.7.0_75". I need 1.8 for it to work with another application but can't figure out how to upgrade it. Do I need to manually install it somehow? There's not much information on this on the internet as far as I can see. Specs:   java version "1.7.0_75" OpenJDK Runtime Environment (amzn-2.5.4.0.53.amzn1-x86_64 u75-b13) OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)   When I try update now:     [ec2-________]$ sudo yum update Loaded plugins: priorities, update-motd, upgrade-helper amzn-main/latest                                         | 2.1 kB     00:00 amzn-updates/latest                                      | 2.3 kB     00:00 No packages marked for update   Is there anything else I need to do? Thanks.
Overfull hbox using biblatex How configure the DHCP settings of WIFI Tethering (Hotspot) on Android? When connecting my PC to Android Wi-Fi hotspot, it assigned a 192.168.42.x address to my PC. I really need to change this as it conflicts with one of our work subnets - is this possible? If I have a 18-55mm lens, is there a point in buying a 35mm prime lens? Is there exist a function defined on the real or complex numbers that, restricted to the integers, is equal to the factorial? Difference between Inheritance and Composition How do I change directory back to my original working directory with Python? How do I get a block with data to place myself? Android 4.1 (Jelly Bean) was announced at Google I|O 2012 on June 27, 2012.  (You can review  at the official Android Developer's site.)  Of course, not all devices will get this update right away and others won't get it at all. Each manufacturer and carrier often choose to add their custom modifications which tend to delay the official release.  When will each device get Android 4.1, either officially or unofficially, if ever?  See also: What is the difference between a tatkal and premium tatkal ticket in Indian Railways? I configured a journey in Marketing Cloud where i sent an email. My requirement is adding BCC email addresses to this email, but I noticed that we can only add valid email addresses. Could you confirm me that is not possible to add BCC /CC Address using personalization strings or Ampscript functions (e.g. Lookup) inside the Journey Email's settings? Calculate the display width of a string in C#? A Java version of this question was just answered, and, well, I don't know how to do this in .net.   So how do you calculate the display width of a string in C# / .net? Are actions and bonus actions interchangeable? Why would a slug thrower be more effective against a lightsaber/Jedi than a blaster? From  question about gunpowder in the Star Wars universe it is  that the shot from a  slug thrower is not completely deflectable by a lightsaber. This seems to be listed as an advantage (over blasters) against lightsabers and Jedi.     For example, during the days of the Galactic Republic, mercenaries fearing an intervention by Jedi Knights used rapid-fire slugthrowers that were impossible to completely deflect, unlike blaster bolts.   This doesn't make much sense though. A slug, while maybe not as deflectable should be just as ineffective against a lightsaber as a blaster shot is, due to the nature of a . That is, a blade made of plasma should simply vaporize the slug, should the slug manage to penetrate the containment field.     The weapon consisted of a blade of pure plasma emitted from the hilt and suspended in a force containment field. The field contained the immense heat of the plasma, protecting the wielder, and allowed the blade to keep its shape.   While a slug would seem to be more accurate than a blaster bolt (at least when used by a skilled marksman), I can't imagine that the slug would be faster than a bolt. Or if it is faster I wouldn't imagine it would be so fast that a Jedi would be unable to react with enough speed to block it, either with their saber or with the force. So what is the implied advantage of a slug thrower, versus a blaster, when used against a Jedi? What's the function of the ~ bitwise operator (Tilde) Ubuntu server: Cannot setup dummy driver alsa (LXC container) // modprobe issue How do I prove the sequence $x_{n+1}=\sqrt{\alpha +x_n}$, with $x_0=\sqrt \alpha$ converges? ( boundedness?) Evaluating: $\lim\limits_{x\to0}\left(\frac{\sin x}{x}\right)^{{6}/{x^{2}}}$ I am trying to evaluate the following but without result.  $$\lim_{x\to0}\left(\frac{\sin x}{x}\right)^{{6}/{x^{2}}}$$  Can you please give me some hints? I have tried to put log to both sides but it hasn't lead me somewhere... Thanks a lot cgi and tomcat im trying to run a cgi script (.cgi) with tomcat. I am getting the below error and cant find out whats wrong. I know i should really use apache and mod proxy but this really isnt my area of expertise so im taking the easy way out!  Thanks for any help.   java.io.IOException: Cannot run program "perl" (in directory "C:\Java\tomcat\webapps\my_app_name\WEB-INF\cgi"): CreateProcess error=2, The system cannot find the file specified     java.lang.ProcessBuilder.start(ProcessBuilder.java:459)     java.lang.Runtime.exec(Runtime.java:593)     java.lang.Runtime.exec(Runtime.java:431)     org.apache.catalina.servlets.CGIServlet$CGIRunner.run(CGIServlet.java:1705)     org.apache.catalina.servlets.CGIServlet.doGet(CGIServlet.java:597)     javax.servlet.http.HttpServlet.service(HttpServlet.java:627)     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)     org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)     org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:416) The word "quad" generally means 4. Quadratics don't have 4 of anything. Can anyone explain where the name comes from? How can I see my progress for different badges?