Hi, On my ubuntu laptop I have a lot of Java installed.... see below the questions. I'd like to know - How I can manage these using update-alternatives because this seems to stay stuck on the open JDK java. - What exactly does java - version show me? (With respect to the below) - What's the best way to handle multiple java versions because even as things stand I have one application looking for Tomcat 6 which I think needs Openjdk 6 as a dependency. - Oracle vs. Open JDK - what's the point of having coke and pepsi? See my browser requirement below - And now the question which prompted this post..........I'm trying to (re)install lombok.jar by typing 'java -jar lombok.jar'. However it comes up with this message: 'To install lombok on Eclipse, re-run this jar file on a graphical computer system - this message is being shown because your terminal is not graphics capable'. Double-clicking the file in nautilus just opens a file unzip dialogue. Now last time I did something that made this work in bash........but unhelpfully I can't remember what. Any suggestions?
1. usr/lib/jvm (a) Two actual directories "java-7-openjdk-amd64" and "java-7-openjdk-common" (b) Four symlinks to the "java-7-openjdk-amd64" directory: "default-java", "java-1.6.0-openjdk", "java-1.7.0-openjdk-amd64", "java-6-openjdk" which look like they're there for legacy reasons i.e. catch any application looking for those folders and route to openjdk 7 This stuff was installed due to dependencies on other applications and would have come from a repository 2. usr/java Two actual directories "jdk1.7.0_11" and "jre1.7.0_11" I installed sun java jdk and jre here. the former for eclipse and the latter is the only way, in conjunction with Chrome browser v24 I can open an SSH browser session with Amazon EC2 which I think is quite convenient (Always crashes on me in bash...). Not being from a repository I assume these will not update. - opt/google/chrome/plugins points to /usr/java/jre1.7.0_11/lib/amd64/libnpjp2.so - JAVA_HOME points to /usr/java/jdk1.7.0_11 3. usr/bin/java This points to /etc/alternatives/java 4. /etc/alternatives/java This points to /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java -- -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to linuxusersgroup@googlegroups.com To unsubscribe, send email to linuxusersgroup+unsubscr...@googlegroups.com For more options, visit our group at http://groups.google.com/group/linuxusersgroup References can be found at: http://goo.gl/anqri Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or http://cdn.fsdev.net/List-Rules.pdf) --- You received this message because you are subscribed to the Google Groups "Linux Users Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to linuxusersgroup+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.