The only reason you would do this is because you're using the Java version for two purposes (for listing dependencies and something else).

Since you're not in this case, just use

```python
dependencies = [('Java', '1.7.0_10')]
```