Back to Blog
Make tomcat use java 8 mac6/29/2023 As I’m writting this, Java SE Development Kit 8u45 downloads as jdk-8u45-macosx-圆4.dmg into my ~/Downloads folder. Opening the dmg file and running the installer, copies the Java VM and Runtime into /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdkĪnd to make sure that this new Java version is used, I’m editing the hidden ~/.bash_profileįile (TextMate for instance, will edit this file, if you enter mate ~/.bash_profile). JAVA_HOME is an important environment variable, not just for Tomcat, and it’s important to get it right. Java 8ġst stop is at, to pick up the latest Java 8 JDK. Jersey is also the JAX-RS (JSR 311 & JSR 339) reference implementation and can be found at 1. This time, I’m using Jersey, the open source Web Services, providing support for JAX-RS APIs. Moreover, since I wanted a really lean web-app, manually extracting only the absolutely necessary jars from the rather large RestEasy project seemed a bit of a hack. Time for a reboot. While this worked well, I never felt really comfortable with the rest-easy dependencies. A while back, I wrote a blog post on how to quickly develop and deploy a Web app in Java, using RestEasy on top of Tomcat.
0 Comments
Read More
Leave a Reply. |