Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hey there,

 

So I'm making the jump into gradle, but I've seem to run into a problem actually adding the gradle address as a Path variable. At least, that is the only reason I can come up with.

 

ERROR: JAVA_HOME is not set and no 'java' command can be found in your PATH.

 

Please set the JAVA_HOME variable in your environment to match the location of your Java installation.

 

I feel like I have probably missed something stupidly easy, but I know that the java portion of the value is right, as I can bring up various commands in the command prompt, but nothing with gradle.

 

My path is C:\Program Files\Java\jdk1.7.0_51\bin;C:\Program Files\gradle-1.10\bin

 

Any help would be appreciated.

 

Thanks,

Cyan

PATH -> C:\Program Files\Java\jre7\bin;<other program>

JAVA_HOME -> C:\Program Files\Java\jdk1.7.0_51

  • Author

Right. So I tried this, and now I can't get the command prompt to recognize anything.

 

PATH -> C:\Program Files\Java\jre7\bin;C:\Program Files\gradle-1.10\bin

 

JAVA_HOME -> C:\Program Files\Java\jdk1.7.0_51

 

 

EDIT: Turns out setting both Java_Home and Path to jdk instead of jre worked. Will close this now.

Guest
This topic is now closed to further replies.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.