SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-04-27 18:21:29

Hashi Godan
#! Member
Registered: 2012-03-28
Posts: 66

(SOLVED) Java VM runtime

Sorry - this should be on "Stable"
...
I want to be able to use a Danish genealogy site.
But I get a Java error.
When I installed CB earlier this week,
I also install some Java, using CB's standard method.
I have Java installed. but it doesn't work.
I may have only plugis and not runtime.

To see what I mean go to:
http://www.sa.dk/ao/
You get Arkivalieronline (Online Archive).
Click on the top left entry, Kirkebøger (Churchbooks).
Since my Java isn't working right, I get:
"Kirkebøger på internettet" (Churchbooks on the Internet).
Did you get this also?  If not go down to next paragraph.
On the left in the white is an instruction to
"installere Java VM runtime fra Sun",
(install Java VM runtime from Sun).
Also go down Kirkebøger på internettet
about 5 paragraphs you will see ""se vejledning" in red.
Click on it and it brings up:
VEJLEDNING I INSTALLATION AF JAVA SOFTWARE
I believe this is an old instruction
since it is about WinXP, not Vista/7.

BUT -- If instead you did get to the churchbook page,
your Java is setup right.
I would like to know how your Java is set up.

I read somewhere long ago that one must uninstall
Java plugin and then install Java JRE.  When I installed
CB JRE was mentioned in the installation.

My alternative is to install VirtualBox
(which I will anyway.  Icyos has a nice youtube video)
and then install XP.  (I wonder if I have to get M$'s permission?)

Bottom Line: How do I get to view Danish Churchbooks
using Arkivalieronline (AO)?  Hopefully in CrunchBang.

Comments are welcome.

Thanks in advance.
...

Last edited by Hashi Godan (2012-10-28 03:10:52)


Wirth's law - Software is getting slower more rapidly than hardware becomes faster.

Offline

Help fund CrunchBang, donate to the project!

#2 2012-04-27 21:29:14

hinto
#! Windbag
From: Cary, NC
Registered: 2010-12-08
Posts: 1,410

Re: (SOLVED) Java VM runtime

^ not sure what you mean by "standard method", but:

apt-get install sun-java6-jre

or

apt-get install sun-java6-jdk

or

apt-get install default-jdk

should give you what you want.
-Hinto


"Sometimes I wish I hadn't taken the red pill" -Me

Offline

#3 2012-04-27 22:12:49

Stanie
#! CrunchBanger
Registered: 2011-12-20
Posts: 225

Re: (SOLVED) Java VM runtime

Hello Hashi Godan,
just tried the site and it works. But I have the latest oracle java on debian sid, so no surprises here...
What version do you have? What browser do you use?
Run in terminal

java -version

and paste your findings in here.
Just to be sure open also your browser and write about:plugins and check if you have java plugin enabled in there as well.


A secure alternative to Dropbox with complete privacy = SpiderOak. Join it using my referral and get a total of 3 GB to start with.

Offline

#4 2012-04-28 01:14:15

Hashi Godan
#! Member
Registered: 2012-03-28
Posts: 66

Re: (SOLVED) Java VM runtime

...
Hinto
I installed CB this week and at the end of the installation
CB asks several question about installing applications.
Java and LibreOffice were 2 of several.
I could press "s" to skip or any other key to install.
I choose to install java.

Stanie
Found these Java folders in /etc, /usr/bin, and usr/share.
"java-version" didn't work at any of these places including at /.

About plugins - found version 1.6.0_26
Says enabled.

I'm using CB 10 squeeze and Chrome.
Hope this helps.

Thanks
...


Wirth's law - Software is getting slower more rapidly than hardware becomes faster.

Offline

#5 2012-04-28 01:37:58

hinto
#! Windbag
From: Cary, NC
Registered: 2010-12-08
Posts: 1,410

Re: (SOLVED) Java VM runtime

If you try to install the way I mentioned, java will not install if it's already installed.
So you need to do that from the command line.
You do need to do this:

sudo apt-get update

then do this:

sudo apt-get install default-jdk

-Hinto


"Sometimes I wish I hadn't taken the red pill" -Me

Offline

#6 2012-04-28 08:51:56

Stanie
#! CrunchBanger
Registered: 2011-12-20
Posts: 225

Re: (SOLVED) Java VM runtime

Hashi Godan wrote:

...
Hinto
I installed CB this week and at the end of the installation
CB asks several question about installing applications.
Java and LibreOffice were 2 of several.
I could press "s" to skip or any other key to install.
I choose to install java.

Stanie
Found these Java folders in /etc, /usr/bin, and usr/share.
"java-version" didn't work at any of these places including at /.

About plugins - found version 1.6.0_26
Says enabled.

I'm using CB 10 squeeze and Chrome.
Hope this helps.

Thanks
...

OK. You have sun java 1.6.0_26 installed. It is just not the latest stable java version available - that would be oracle java 1.6.0_31. But it shouldn't be a problem...

As to the command not working - open terminal and write java -version and not java-version

BTW chrome seems to be a little picky with java apps sometimes - at least according to another forum thread in here. You have the latest chrome v. 18.0.something, right? If not - upgrade it. And just to be sure, try opening the site from another browser like iceweasel and if there is no change, let us know.


A secure alternative to Dropbox with complete privacy = SpiderOak. Join it using my referral and get a total of 3 GB to start with.

Offline

#7 2012-04-30 02:45:23

Hashi Godan
#! Member
Registered: 2012-03-28
Posts: 66

Re: (SOLVED) Java VM runtime

...
I've been busy and haven't been able to give this issue much time.
But I did do a couple things.

1. I cranked up my Vista box to see if get into the Danish Arkivalieronline.
No luck.  Got no where. 
It would not even update.  Waste of time.

2. I also cranked up CB and Iceweasel on my laptop.
I did an update per Hinto's two instructions above.
Thanks Hinto.
Results (3 lines):
Setting up default-jre-headless (1:1.6-40) ...
Setting up default-jre (1:1.6-40) ...
Setting up default-jdk (1:1.6-40) ...
Ran "java -version" and got these 3 lines:
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
And Iceweasel Add-ons Manager shows 1.16.0_26.

But Arkivalieronline still stops at needing
"Java VM runtime from Sun"

When I get some free time, I'll try my new box.
I think I'll need to remove all java and reinstall.
I need to find out which java and how much java.

Any ideas?
...


Wirth's law - Software is getting slower more rapidly than hardware becomes faster.

Offline

#8 2012-04-30 09:19:10

Stanie
#! CrunchBanger
Registered: 2011-12-20
Posts: 225

Re: (SOLVED) Java VM runtime

^ It seems to me that you have more than 1 java installed. Run in terminal

sudo update-alternatives --config java

If it gives you an option, choose the sun java and try the app again...

EDIT: I just tried the site again today to see if it works with open java. But I wasn't able to open it neither with open java nor the latest oracle java in both firefox and chromium hmm Maybe the previous success was just a fluke or maybe I got another error message without the header you mentioned...
But java on other web sites and java games work for me so the problem may not be with your install at all. Try some other site with java and see what happens.

Last edited by Stanie (2012-04-30 09:48:25)


A secure alternative to Dropbox with complete privacy = SpiderOak. Join it using my referral and get a total of 3 GB to start with.

Offline

#9 2012-04-30 13:02:00

hinto
#! Windbag
From: Cary, NC
Registered: 2010-12-08
Posts: 1,410

Re: (SOLVED) Java VM runtime

^I just tried firefox on Win7, Mac, #!, and Ubuntu. (and IE on Win7)
I think it's a problem with the site, and not Java.
-Hinto


"Sometimes I wish I hadn't taken the red pill" -Me

Offline

#10 2012-04-30 13:17:39

Stanie
#! CrunchBanger
Registered: 2011-12-20
Posts: 225

Re: (SOLVED) Java VM runtime

^ My thoughts exactly.
And wow, you are one serious distro/os hopper, hinto. The only thing missing is to try it also on chrome/chromium, safari and opera lol


A secure alternative to Dropbox with complete privacy = SpiderOak. Join it using my referral and get a total of 3 GB to start with.

Offline

#11 2012-04-30 13:25:23

hinto
#! Windbag
From: Cary, NC
Registered: 2010-12-08
Posts: 1,410

Re: (SOLVED) Java VM runtime

VMs (and cross development efforts) are your friend wink
-Hinto


"Sometimes I wish I hadn't taken the red pill" -Me

Offline

#12 2012-05-02 17:24:42

Hashi Godan
#! Member
Registered: 2012-03-28
Posts: 66

Re: (SOLVED) Java VM runtime

...
I'll keep trying.
I'm in contact with my Danish List.
But so far no luck.
I have an old broken PC which I will try to revive.
It may have been successful with Arkivalieronline (AO).
If I can't get the PC to work, I'll pull the HD and mount
it in USB adapter box and try that.
I think I was using Ubuntu 8.04 or earlier.
I'll keep you posted.
Thanks for your help.
...


Wirth's law - Software is getting slower more rapidly than hardware becomes faster.

Offline

#13 2012-05-06 23:49:07

Hashi Godan
#! Member
Registered: 2012-03-28
Posts: 66

Re: (SOLVED) Java VM runtime

...
I successfullt installed Java in Windoz Vista
and was able to see the online church records.
But I would rather use not use Windoz for this task.
I want to use my new DIY box w/ CrunchBang 10 stable for the job.

I'm told that I need JRE not JDK which I now have installed

:~$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze1)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

How is the best way to uninstall JDK and install JRE?

Thanks
...


Wirth's law - Software is getting slower more rapidly than hardware becomes faster.

Offline

#14 2012-05-07 00:58:55

hinto
#! Windbag
From: Cary, NC
Registered: 2010-12-08
Posts: 1,410

Re: (SOLVED) Java VM runtime

If I cannot see it with Mac, Win7 or Linux with Firefox or IE 9, it's probably your site.
BTW... The jdk contains the jre.
-Hinto


"Sometimes I wish I hadn't taken the red pill" -Me

Offline

#15 2012-05-07 03:48:34

Hashi Godan
#! Member
Registered: 2012-03-28
Posts: 66

Re: (SOLVED) Java VM runtime

I can see the site with Vista.
I had cleaned Vista a lot.
Even throu Ccleaner and Add/Remove said I had removed all Java
I still found it in Program Files (x86).
When I find out how to clean Java from CrunchBang,
then I will install again.
...


Wirth's law - Software is getting slower more rapidly than hardware becomes faster.

Offline

#16 2012-05-07 12:48:49

hinto
#! Windbag
From: Cary, NC
Registered: 2010-12-08
Posts: 1,410

Re: (SOLVED) Java VM runtime

No matter what platform (Mac, Win7, Linux) I choose, I always get:

Statens Arkivers Filmningscenter har siden 2002 digitaliseret kirkebøger med henblik på at gøre dem tilgængelige på internettet. Arbejdet er muliggjort takket være særbevillinger fra Kulturministeriet.


"Sometimes I wish I hadn't taken the red pill" -Me

Offline

#17 2012-07-05 07:56:29

Hashi Godan
#! Member
Registered: 2012-03-28
Posts: 66

Re: (SOLVED) Java VM runtime

The  following is from a colleague, David P...

The LAViewer is a stand-alone Java-based program and does not need the browser to operate.
The JNLP file does not need the browser either, once it is downloaded.

It seems that your problem is that the Java Web Start program is not properly handling the aspx/jnlp file.
It is supposed to download the components of the LAViewer program, which it appears to be doing.
Then it is supposed to run that downloaded program.

Understanding that, I looked in google for reports of OpenJDK not running jnlp files.
At https://bugs.launchpad.net/ubuntu/+sour … bug/224800
there were reports of a bug, starting back in 2008.  They all reported getting an error message after the downloading of the files.  DID YOU GET AN ERROR MESSAGE??  It sort of looks like the bug was fixed, but it is not clear.

At http://geekgaucho.blogspot.com/2012/04/ … -apps.html
thereis a much more recent treatment of the subject. They report that you cannot run a jnlp application without the installation of the IcedTea plugin.  They have instructions and pictures.  Perhaps that is what you need.

------------------------
Thanks David
I still can't get LAViewer to activate.  No error msg.

...

Last edited by Hashi Godan (2012-07-05 07:58:22)


Wirth's law - Software is getting slower more rapidly than hardware becomes faster.

Offline

#18 2012-10-22 19:52:41

Hashi Godan
#! Member
Registered: 2012-03-28
Posts: 66

Re: (SOLVED) Java VM runtime

I found that OpenJDK WebStart does not work.
It doesn't open my aspx/jnlp files.

But Sun Java 6 Web Start does work.  smile

I tried to remove OpenJDK using Synaptic,
but it didn't remove all.
And OpenJDK WS sometimes starts in place of Sun Java 6 WS.

How do I clean all OpenJDK Java from my system?

Thanks in advance.


Wirth's law - Software is getting slower more rapidly than hardware becomes faster.

Offline

#19 2012-10-28 03:12:14

Hashi Godan
#! Member
Registered: 2012-03-28
Posts: 66

Re: (SOLVED) Java VM runtime

Cleaned the remaining OpenJDK stuff.
All is good.
Thanks to y'all.


Wirth's law - Software is getting slower more rapidly than hardware becomes faster.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo