Welcome to Our Website!

Back in June, of this year, I became the Proud OP of our XDADevelopers ReZound Thread/Site. Problem is... I can create a build from "everyone else's" work -but- I can not do much myself. Why??? Mainly cause in addition to not knowing enough about these phones ... I don't know Java!! Hence, the creation of this page.

 August 31st, 2014/6:32pm  The version that I presently have installed is:
> java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

> ls -la /etc/alternatives/java* && ls -la /etc/alternatives/jar
lrwxrwxrwx 1 root root 37 Dec  5  2013 /etc/alternatives/java -> /usr/lib64/jvm/jre-1.6.0-sun/bin/java
lrwxrwxrwx 1 root root 44 Dec  5  2013 /etc/alternatives/java.1.gz -> /usr/share/man/man1/java-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 39 Dec  5  2013 /etc/alternatives/javac -> /usr/lib64/jvm/java-1.6.0-sun/bin/javac
lrwxrwxrwx 1 root root 45 Dec  5  2013 /etc/alternatives/javac.1.gz -> /usr/share/man/man1/javac-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 41 Dec  5  2013 /etc/alternatives/javadoc -> /usr/lib64/jvm/java-1.6.0-sun/bin/javadoc
lrwxrwxrwx 1 root root 47 Dec  5  2013 /etc/alternatives/javadoc.1.gz -> /usr/share/man/man1/javadoc-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 39 Dec  5  2013 /etc/alternatives/javah -> /usr/lib64/jvm/java-1.6.0-sun/bin/javah
lrwxrwxrwx 1 root root 45 Dec  5  2013 /etc/alternatives/javah.1.gz -> /usr/share/man/man1/javah-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 39 Dec  5  2013 /etc/alternatives/javap -> /usr/lib64/jvm/java-1.6.0-sun/bin/javap
lrwxrwxrwx 1 root root 45 Dec  5  2013 /etc/alternatives/javap.1.gz -> /usr/share/man/man1/javap-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 61 Apr 25 07:26 /etc/alternatives/javaplugin -> /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/amd64/libnpjp2.so
lrwxrwxrwx 1 root root 29 Dec  5  2013 /etc/alternatives/java_sdk -> /usr/lib64/jvm/java-1.6.0-sun
lrwxrwxrwx 1 root root 29 Dec  5  2013 /etc/alternatives/java_sdk_1.6.0 -> /usr/lib64/jvm/java-1.6.0-sun
lrwxrwxrwx 1 root root 37 Dec  5  2013 /etc/alternatives/java_sdk_1.6.0_exports -> /usr/lib64/jvm-exports/java-1.6.0-sun
lrwxrwxrwx 1 root root 37 Dec  5  2013 /etc/alternatives/java_sdk_exports -> /usr/lib64/jvm-exports/java-1.6.0-sun
lrwxrwxrwx 1 root root 29 Dec  5  2013 /etc/alternatives/java_sdk_sun -> /usr/lib64/jvm/java-1.6.0-sun
lrwxrwxrwx 1 root root 37 Dec  5  2013 /etc/alternatives/java_sdk_sun_exports -> /usr/lib64/jvm-exports/java-1.6.0-sun
lrwxrwxrwx 1 root root 50 Apr 25 07:26 /etc/alternatives/javaws -> /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/bin/javaws
lrwxrwxrwx 1 root root 37 Dec  5  2013 /etc/alternatives/jar -> /usr/lib64/jvm/java-1.6.0-sun/bin/jar

-BUT-(that word again) they seem to be pushing Java 7. The latest Eclipse, Luna, -and- the  Android Studio  which both Require Java 7.

   

  Java 7

Was gona install Java 7 in order to try and get Eclipse working better on my Rez code. However, I have learned that it doesn't make any difference what I do... the AOSP and/or CyanogenMod ROMs can NOT be built in Eclipse. There is a claim that you can do editing -but- we have NOT really been successful at that cause of missing items. There is this section that talks about creating a Shadow dir and we are investigating that.

its actually easier to switch back and forth just go through java part of dev setup and change default to 7
when you want 6 just switch back
BUT
You got both Java's installed??
will require you to clobber your build
yup
just depends on which you have set as default in -alternatives
http://www.playfuldroidz.com/wiki/How_to_Fix_HashSet_Issues_Building_Android
in the third box
sudo update-alternatives --config <wtfe>
where <wtfe> is
replace with lest say javadoc, javaws, javah, javap, or jar
and yes...this is good notes to add to site bud
the real pain in the ass is lets say slimkat and liquid rom..liquid can use openjdk 6 where slim requires oracle jdk6

 One Click Install   Well, we used the 1-Click install for version 6. Let's try it for version 7. VMware will be my greatest concern. Gots to many things going on one 'Puter.

   

  Imports

In trying to setup CyanogenMod on Eclipse I ran into numerous problems. From my 'C' Language background it looked like the problems were caused by missing includes. -But-, so I have learned, Java doesn't use includes. However, it uses imports. Are these like includes???

 How Java Imports Work from StackOverFlow

Java's import statement is pure syntactical sugar. import is only evaluated at compile time to indicate to the compiler where to find the names in the code.

You may live without any import statement when you always specify the full qualified name of classes. Like this line needs no import statement at all:

javax.swing.JButton but = new javax.swing.JButton();
The import statement will make your code more readable like this:
import javax.swing.*

 JButton but = new JButton();

Now then, what in particular brought this out?? This error... one of many similar:

Description                             Resource            Path                                                                                    Location    Type
AudioData cannot be resolved to a type  EqualizerTile.java  /AndroidCM11/frameworks/base/packages/SystemUI/src/com/android/systemui/quicksettings   line 107    Java Problem
Now then, in the EqualizerTile.java file we find at the top of the file:
  import com.pheelicks.visualizer.AudioData;
  import com.pheelicks.visualizer.FFTData;
  import com.pheelicks.visualizer.renderer.BarGraphRenderer;
  import com.pheelicks.visualizer.renderer.Renderer;
All with a "quick fixable error" symbol in front of them. The first one, AudioData, is also the first listed error. The others are listed further down in the error list. Which varies in count. I have had over 18,000 errors with over 7,000 warnings. Got it down to 166 and now I am back up to 313. The 166 count was with Kepler. In vain attempts at soving this, I have bounced back and forth between the Eclipse versions. Now, in Juno, is where I have the 313. So, either I installed something in Kepler and missed it in Juno -or- it is because of the different versions.
Later: Reinstalled Kepler and still have 313 ... so my first inclination that something is missing in the path seems to be correct.

There is a newer version, Luna, -but- (that word again) it requires Java 7!! I have not been able to establish whether or not this CyanogenMod will compile with Java 7 and, call me a coward, but I don't want to mess up what I got to "try" out Java 7. I was trying to install it back when I started this and was not successful. Probably, mainly, due to my incompetence.
Later: Almost every place I look... they say "Stick with Java 6". So we are.

 September 1st, 2014/8:13am  Well, in the Eclipse bouncing around and just grabbing at everyone's suggestions... I have went from a larger amount of errors and warnings to a few errors and still a large amount of warnings -and- I'm not sure what I did to get here.
So from here on we will list what we did. Refer: Downloading and Building Initializing: Initializing

  1. Installed adt-bundle-linux-x86_64-20140702.zip. Later replaced the Juno Eclipse with Kepler Eclipse.
  2. New claim... I need Python 2.7... installed it ... I think.
  3. For KitKat it is said Java 6.
  4. OK!!! My JAVA_HOME IS NOT CORRECT!!
  5. Later .. now we are gona screw everything up and install Java 7.

Setup -BUT- all that he claims to have loaded can not be found and I have the SAME openSuSE version!!
Another...

   

  Libraries

cannot-be-resolved

  • Right Click Project you are working on from Package Explorer
  • Go to Properties
  • Go to Java Build Path from the right tree structure
  • Go to Libraries Tab
  • Choose Add Library Button
  • Select JRE System Library
  • Hit Next, the Radio button will prompt the Workspace default JRE, and let it be that way
  • Hit Finish