# Can't build Java 1.8 even with proper Java version in use

**URL:** https://discuss.gradle.org/t/cant-build-java-1-8-even-with-proper-java-version-in-use/2461
**Category:** Old Forum Archive
**Created:** [September 22, 2014, 8:30pm UTC](https://discuss.gradle.org/t/cant-build-java-1-8-even-with-proper-java-version-in-use/2461 "2014-09-22T20:30:00Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Mark\_Bober](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/mark_bober/32/345_2.png) [@Mark\_Bober](https://discuss.gradle.org/u/Mark_Bober)
#### Post date: [September 23, 2014, 12:27am UTC](https://discuss.gradle.org/t/cant-build-java-1-8-even-with-proper-java-version-in-use/2461/5 "2014-09-23T00:27:00Z")

</div>

Hi, thanks. Here ya go:

In build.gradle:

sourceCompatibility = 1.8 targetCompatibility = 1.8

---

_[View the full topic](https://discuss.gradle.org/t/cant-build-java-1-8-even-with-proper-java-version-in-use/2461)._
