Tag Info

New answers tagged

1

If you're having trouble setting the correct hostname for java.rmi.server.hostname try the following: -Djava.rmi.server.hostname=$(/usr/bin/curl -s --connect-timeout 2 instance-data.ec2.internal/latest/meta-data/public-hostname) This is convenient to use in an Elastic Beanstalk environment where instances will come and go.


1

If a project, Jenkins here, does not recommend any specific JRE version I would go with one of the current stable version recommended by Oracle. But as I think that Java 8 is generally not ready for production at the moment of writing these words and as there have been some Java 8-specific bugs in Jenkins I would use JRE 7. For 64-bit Windows Oracle has ...


0

You're misunderstanding this line. java org/rmsyr/socialEnterprise/SocialEnterpriseMenu "socialEnterprise.dbo" "CounterPoint" "Z:/Templates/SocialEnterprise/" "Y:/SocialEnterprise/" "Y:/XML_Save/SocialEnterprise/" "V:/LabelPrinter/" Java.exe is being called, to execute a Java class denoted as "org/rmsyr/socialEnterprise/SocialEnterpriseMenu", which will be ...


0

The Problem was I accidently installed the 32-bit Java version even though I have a 64-bit system. If anybody know why the 32-bit version didn`t work (cause it normally should work on a 64-bit maschine) I would appreciate to know. Anyway installing the 64-bit Version fixed the problem.


1

Check if all symlinks used for alternatives are ok: ls -l $(readlink -f /usr/bin/java) If a link is missing try to find it by listing recursively. E.g: ls -l /usr/bin/java ls -l /etc/alternatives/java ...


0

Do you run Jenkins manually or via service? It's not recommended to run it manually via java -jar /usr/share/jenkins/jenkins.war but with service jenkins start|stop. When you manually start, it'll change owner to user which started jenkins.war via java, service runs under user:group jenkins. Default path for service jenkins (Debian/Ubuntu) should be ...


0

If I had to guess, it looks like maven was installed likely by root, and thereby owned by root. If jenkins was installed via any package manager, likely it is running as a "jenkins" user which won't have access to that maven installation. Just a thought - why not configure jenkins to install/manage the version of maven you'd like to use? Jenkins will put ...


1

Looks to me like the commons-discovery:axis:jar has either been moved or that's not the correct GAV. I see this: <dependency> <groupId>axis</groupId> <artifactId>axis</artifactId> <version>(PUT YOUR VERSION HERE)</version> </dependency> And this: <dependency> ...


-1

I was also taking this warning, and ı figure it out that I deleted installed tomcat folder on system without uninstall it. so to fix it I checked it in "regedit" and it is fix it. to do this first write "regedit" to start and than system registiration window will be shown, then go to "HKEY_LOCAL_MACHINE", then "software", than delete the file whichs likes ...


0

Allow me to refer to the answers given to a similar question I asked over at Superuser.com, which I think are especially suited for the ServerFault.com/enterprise segment. Ninite packages cannot, as far as I know, be installed silently (unless you pay) and GUI options are not practical in any environment larger than a few computers. Two answers include ...


-1

You could just issue ls -al /usr/bin/java which is a link to {java_dir}/jdk/bin/java Edit : this answer is assuming that you are trying to find the jdk directory, in this case it does not matter if you JAVA_HOME is set or not or may be set incorrectly


1

I'm not sure that file\:C\:/Windows/Sun/Java/Deployment/deployment.properties is a valid Windows file URI. ORACLE documentation lists slightly different and more plausible one: file:///C:/Windows/Sun/Java/Deployment/deployment.properties Try setting deployment.system.config.mandatory to True and see if your app fails to start. If it fails, it means that ...



Top 50 recent answers are included