Problems with setting JRE_HOME for a d3web installation - java

I have to use d3web. The tutorial gives me the following hint regarding the installation of d3web
So, I set the values of these variables like displayed in the picture.
But when starting the starting the startup.bat I receive a message stating that I have not set the values of JRE_HOME nor JAVA_HOME.
Do you know what went wrong?

Related

Struggling with setting JAVA_HOME environment variable. I am trying to install latest version of maven on mac

First of all, this is the vaguest download description I have ever received, here.
I don't know how to set my JAVA_HOME environment variable. When using echo $JAVA_HOME it gives me nothing at all, like the command line just returns an empty line. I am using OS X Catalina at the moment, I have JDK 13 installed properly.
I have check my path for where java is installed: /Library/Java/JavaVirtualMachines/jdk13.0.2.jdk/Contents/Home
I have also looked up how to set the environment variable and most tutorials only provide a way to set the path temporarily or their method of adding the PATH=/.../13.0.2.jdk to .profile does not work.
I have tried setting my path via nano .profile and adding various snippets along the lines of PATH=/.../maven-3.6.3/bin. It does not matter what I do it refuses to work with me.
I have tried other OS X tutorials on google but they are not working for me.
Please rescue me.

Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on

Whenever I execute java code on intellij on kali, or type java --version in command line
I get this message
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true.
I googled it and found this link that is exactly the same situation as me,
but what I understand is that it's an information not error and I can unset _JAVA_OPTIONS environmental variable.
What I'm asking for is that deleting this environmental variable will not cause any harm?
I read in the above link that If you remove that variable, information will be gone.
I didn't understand is that mean any damage or he just said that the message will gone!
And finally how to delete or unset this _JAVA_OPTIONS variable?
Update :
When I unset this variable by these commands
_SILENT_JAVA_OPTIONS="$_JAVA_OPTIONS"
unset _JAVA_OPTIONS
alias java='java "$_SILENT_JAVA_OPTIONS"'
-referenced from this link, the second answer- the message is still appear but after the output of the java program instead of before the output as it was!

Ionic Build Failed: JAVA_HOME is invalid

I wanted to start my first build with ionic. But the Build fails very soon with the following error:
Running command: E:\Apps\ASV\Node\node.exe E:\Apps\ASV\Code\MyASV\hooks\after_prepare\010_add_platform_class.js E:\Apps\ASV\Code\MyASV
add to body class: platform-android
Error: Failed to run "java -version", make sure that you have a JDK installed.
You can get it from: http://www.oracle.com/technetwork/java/javase/downloads.
Your JAVA_HOME is invalid: C:\Program Files\java\jdk1.8.0_77
I tried several things over the past hour to fix this. I deinstalled all Java related stuff, reinstalled it, set the JAVA_HOME several times to the jdk path, added %JAVA_HOME%\bin to the path-variable, but nothing fixed it. Currently my JAVA_HOME, which i had to create manually, looks like this at the moment:
C:\Program Files\Java\jdk1.8.0_77
Please note that this path is different to the one in the error message. The 'Java' is written in lowercase and in uppercase, I don't know if this is relevant. Also changing this JAVA_HOME variable and then trying a rebuild gives the same error, the changed variable seems to have no effect on the one ionic uses.
How can I fix this? What exactly is going wrong?
it should be pointing to JDK\bin folder , usually C:\ProgramFiles\Java\jdk*\bin directory.
I recently tried in my new windows PC and gone through same issue.
Okay, i fixed it. The Error
Your JAVA_HOME is invalid: C:\Program Files\java\jdk1.7.0_79
Is quite irritating. The error was that the PATH-variable missed an entry like
C:\Program Files\Java\jdk1.7.0_79\bin
Somehow
%JAVA_HOME%\bin
still causes the error.
You will need to edit your enviroment variables of your box to point the JAVA_HOME to the currnent jdk bin/ directory

Trying to set JAVA_HOME for a ControlTier Installation on a VirtualBOX install of Solaris 10 (AMD) gets me a: JAVA_HOME not set or set incorrectly

I have googled like a crazed idiot and am slowly losing my will to live here :) The problem is, that I need to set up ControlTier and for that I need an installation of JRE and JDK (version 6u26 and 6u34) I have got them both set up and have been for the last few hours trying in vain to find out how to set the JAVA_HOME variable and according to other sites, the PATH variable in such a way that the install.sh script that is in the setup zip file for controlTier won't keep giving me a: JAVA_HOME not set or set incorrectly all the time.
I've tried allsorts of combinations of the two. Can someone please help me and point out what I have to do to get this thing spinning... It would be very much appreciated, this is really depressing. I would like to be able to get this thing running.
Cheers!

JAVA_HOME on win 2008 server points to different places from different calles

my problem is with JAVA_HOME variable. When i echo it inside cmd, it points to jdk as it should, when i echo it from powershell, it points to jre7 and when i echo it with php script from web it points jre6. I have tried to set it with set JAVA_HOME and set-variable JAVA_HOME from both the powershell and php script which i called from web and neither did work. Does anybody have some idea how could i fix this? thanks
is it possible JAVA_HOME is defined as a user variable and not a system variable and those processes are running as different users ?
I didn't actually solve the problem, I just cured the symptoms. I have edited the ant.bat. Just added the line: set JAVA_HOME=path\to\jdk at the start of the file

Categories