truman2159 / rowboat

Automatically exported from code.google.com/p/rowboat
0 stars 0 forks source link

AM3517 problem w/ java version building rootfs #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. followed all installation steps per instructions.  Run $ make 
TARGET_PRODUCT=omap3evm TARGET_BUILD_VARIANT=tests -j8
2.Get 'You are attempting to build with the incorrect version of Java', Your 
version is: /bin/bash: java: command not found.
The correct version is: 1.5.

What is the expected output? What do you see instead?
* want successful build of omap3530 rootfs to use on AM3517 EVM.
* I get : Your version is: /bin/bash: java: command not found.
The correct version is: 1.5.

What version of the product are you using? On what operating system?
* I am using latest rowboat install for AM3517 and OMAP3530.
* Using 'omap3evm' option since AM3517 make rule not there.
* Using eclair non-DSP.
* OS is UBUNUTU LSP 10.04

Please provide any additional information below.
I tried searching online on how to get older java 1.5 but it says its not 
available.  I've tried apt-get install sun-java5-jdk and sun-java5-jre, no 
luck.  I was able to uninstall the java6 that got installed during some 
previous steps.

Original issue reported on code.google.com by damat...@gmail.com on 17 Aug 2010 at 1:50

GoogleCodeExporter commented 9 years ago
I found previous post that instructs one to add (2) lines to sources.list but 
it did not work.  I added to that previous post.  SEE ISSUE 16.

Thanks.

Original comment by damat...@gmail.com on 17 Aug 2010 at 2:01

GoogleCodeExporter commented 9 years ago
Hello,
I think i made it a bit further since i moved back to my Ubuntu laptop -vs- my 
desktop.  So now i'm using the following make cmd line:
$ make TARGET_PRODUCT=omap3evm

But now i get this error after about 20min of build:
true
Install: out/host/linux-x86/bin/usbtest
host Java: cts-dalvik-buildutil 
(out/host/common/obj/JAVA_LIBRARIES/cts-dalvik-buildutil_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Install: out/host/linux-x86/framework/cts-dalvik-buildutil.jar
Collecting all junit tests...

Time: 0.077

OK (0 tests)

collected 3102 test methods in 225 junit test classes
Exception in thread "main" java.lang.NoClassDefFoundError: java.util.Scanner
   at util.build.BuildDalvikSuite.parseTestMethod(BuildDalvikSuite.java:685)
   at util.build.BuildDalvikSuite.handleTests(BuildDalvikSuite.java:359)
   at util.build.BuildDalvikSuite.compose(BuildDalvikSuite.java:170)
   at util.build.BuildDalvikSuite.main(BuildDalvikSuite.java:136)
make: *** [out/host/linux-x86/obj/EXECUTABLES/vm-tests_intermediates/tests] 
Error 1
root@marc-laptop:/opt/rowboat-eclair-android# 

Original comment by damat...@gmail.com on 17 Aug 2010 at 5:39

GoogleCodeExporter commented 9 years ago
I meet the same problem

Original comment by weise.w...@gmail.com on 14 Jan 2011 at 2:06