Advertisement
playfulgod

HashSet<E> fix

Nov 17th, 2013
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. For anyone getting build errors related to
  2.  
  3. Code:
  4. // Step 1: forward declarations.
  5. namespace {
  6. const char kHashSet<E>ClassPath[] = "java/util/HashSet<E>";
  7. // Leaking this jclass as we cannot use LazyInstance from some threads.
  8. jclass g_HashSet<E>_clazz = NULL;
  9. } // namespace
  10.  
  11. use these commads to fix it:
  12. Code:
  13. ls -la /etc/alternatives/java* && ls -la /etc/alternatives/jar
  14.  
  15. then use:
  16. Code:
  17. sudo update-alternatives --config <wtfe>
  18.  
  19. to set anything not pointed to java 6 to java 6.
  20.  
  21. I had to set javadoc, javaws, javah, javap, and jar to 6.
  22.  
  23. then clobber and brunch again. Androidwink
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement