Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

"JAVA_HOME is not set" during restore process

EcoStruxure IT forum

Schneider Electric support forum about installation and configuration for DCIM including EcoStruxure IT Expert, IT Advisor, Data Center Expert, and NetBotz

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • EcoStruxure IT
  • EcoStruxure IT forum
  • "JAVA_HOME is not set" during restore process
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Cory_McDonald
Admiral Cory_McDonald Admiral
124
Jef
Admiral Jef Admiral
108
gsterling
Captain gsterling Captain
71
APC_Steve
Captain APC_Steve Captain
62
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to EcoStruxure IT forum
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

0 Likes
10
1065
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

"JAVA_HOME is not set" during restore process

Is Java a dependency? If so, I went ahead and install JAVA jre 1.8.0 and created a JAVA_HOME path under Environment Variables > User variables and still getting the issue. Please help. Thanks. 

(CID:116920685)

Labels
  • Labels:
  • Asset Advisor
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 10
DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

0 Likes
8
1065
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

Hi eric.yue,

Yes of course, since StruxureOn GW is an appliance and uses a prepacked jre-1.7.x, as well as all other appliances of Schneider Electric, for example StruxureWare Portal and other. Therefore, StruxureOn GW will not work with the current version of jre-1.8.x.

For example, from C:\Program Files\StruxureOn Gateway\restore\apolloRestore.bat:

powershellC:\Program Files\StruxureOn Gateway\restore\apolloRestore.battrue@echo off set JAVA_HOME=C:\Program Files\StruxureOn Gateway\jre REM bath script for running apollo server restore tool REM make sure JAVA_HOME is set. When JAVA_HOME is set, we can assume the server has been installed. IF "%JAVA_HOME%"=="" ( echo. echo Java home is not set echo. EXIT /b ) "C:\Program Files\StruxureOn Gateway\jre\bin\java" -jar se-apollo-core.jar %*

I am always glad to help.

(CID:116920718)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

In response to DCIM_Support
0 Likes
0
1065
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

So I shouldn't have the need download Java right? Also is there a difference if I installed the app silently with the '/S' switch? It seems like when I install silently, the prepackaged Java isn't included and the directory strucuture looks different. 

(CID:116921325)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

In response to DCIM_Support
0 Likes
0
1065
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

Hi eric.yue,

So I shouldn't have the need download Java right?

Yes, of course, you do not need to download Java separately.

Also is there a difference if I installed the app silently with the '/s' switch? It seems like when I install silently, the prepackaged Java isn't included.

I did not check it. You can specify a link, where parameters are described with which you can run the StruxureOnGateway-1.0.3.40.exe installer?

With best regards.

(CID:116922518)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

In response to DCIM_Support
0 Likes
0
1065
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

 

If I run 'C:\StruxutreOnGateway.exe \S" it'll do a silent install and the directory structure will look like this C:\Program FIles\StruxureOn Gateway\1.0.3

vs

If I run 'C:\StruxutreOnGateway.exe' and it'll be a interactive install with the directory structure like this  C:\Program FIles\StruxureOn Gateway

 

What I've found is it doesn't complain about java through the interactive install.  

(CID:116921342)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

In response to DCIM_Support
0 Likes
0
1065
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

Your first option is probably wrong, as it has not been officially announced anywhere: neither at https://dcimsupport.apc.com nor at https://struxureon.com. From which it follows, that the correct installation of StruxureOn GW -- is an interactive installation, and then the software works correctly.

With best regards.

(CID:116921349)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

In response to DCIM_Support
0 Likes
0
1065
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

Is there a way to do a silent install that mirrors the interactive install because this is a blocker for me since we're automating the process? 

(CID:116921356)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

In response to DCIM_Support
0 Likes
0
1065
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:10 PM . Last Modified: ‎2024-04-08 01:04 AM

Ok, it is possible more in detail: by means of what tool/mechanism and on what OS of MS Windows are you trying to automate the installation process of StruxureOn GW?

With best regards.

(CID:116921358)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:11 PM . Last Modified: ‎2024-04-08 01:04 AM

In response to DCIM_Support
0 Likes
0
1065
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:11 PM . Last Modified: ‎2024-04-08 01:04 AM

I'm running this on Windows 2012 r2. The mechanism and tool i'm using is Chef. What Chef will do is download the installer through StruxureOn's website then start a silent install occurs. Chef is using the '/S' switch to do the silent install which is basically doing something like this in cmd: 'C:\StruxutreOnGateway.exe \S' I can adjust the switch to be modified if needed. 

(CID:116921367)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:11 PM . Last Modified: ‎2024-04-08 01:04 AM

In response to DCIM_Support
0 Likes
0
1064
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:11 PM . Last Modified: ‎2024-04-08 01:04 AM

eric.yue, I created a topic  on this issue, since it must be separated for clarity.

 With best regards.

(CID:116921374)

Reply

Link copied. Please paste this link to share this article on your social media post.

DCIM_Support
Picard DCIM_Support
Picard

Posted: ‎2020-07-03 03:11 PM . Last Modified: ‎2023-10-22 09:35 PM

0 Likes
0
1064
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2020-07-03 03:11 PM . Last Modified: ‎2023-10-22 09:35 PM

superhero.png

This question is closed for comments. You're welcome to start a new topic if you have further comments on this issue.

Reply

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of