Errors when trying to install the, default-jre-headless package from the synaptic package manager
As suggested in the console messages, please run
sudo apt-get update
sudo apt-get install --fix-missing
sudo apt-get install openjdk-6-jre-headless
That should most definitely fix the problem :)
Related videos on Youtube
Tyler DeWitt
Updated on September 18, 2022Comments
-
Tyler DeWitt over 1 year
I remember in JUnit there is a way to run EVERY TestCase you have created or only those in a selected file.
Is there a way to accomplish this in PyUnit?
I can easily run the tests that are in my currently open file, but I'd like the option of running ALL tests (spread out across different files).
I've seen the TestSuite, but my understanding is that that requires manually adding a TestCase to the TestSuite everytime you create a new TestCase. I was hoping to accomplish this automatically.
For instance, I have the following TestCases (each with several
test<Method Name>
methods):class TestFamily(unittest.TestCase) class TestFamilyMember(unittest.TestCase)
How can I run all the tests in
TestFamily
ANDTestFamilyMember
?Alternative
Check out nosetests
-
Nitin Venkatesh about 12 yearsAs the error message suggest, please run
sudo apt-get update && sudo apt-get install --fix-missing
and then trysudo apt-get install openjdk-6-jre-headless
-
Vass about 12 years@nitstorm, thanks, that worked:
alex@alex-laptop:~$ java -version java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.13) (6b20-1.9.13-0ubuntu1~10.04.1) OpenJDK Server VM (build 19.0-b09, mixed mode)
could you put your comment as an answer to give you the credit due? Does this output mean that the java development kit is also included? Do I need to now install that separately? -
Nitin Venkatesh about 12 yearsCool :) Posted as answer :) Not sure, but I don't think JDK got installed, coz it states OpenJDK Runtime Environment but as I said, I am not 100% sure. This answer should prove useful for you at this stage :)
-
-
grrigore over 2 yearsbest answer! thank you