Create account / Log in

Missing card and counter text

Issues with the Vassal engine.

Moderators: uckelman, Tim M

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 12:09 pm

Thus spake gdaudin:
>
> So, if I understand well, I should install the JDK rather than the JRE ?

Maybe. But don't do that yet.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8844
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 12:24 pm

I have now installed JDK.

%which java
/usr/bin/java
%java -version
java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
%ls -l /System/Library/Frameworks/JavaVM.framework/Versions lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4.2 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5.0 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6.0 -> CurrentJDK
drwxr-xr-x 7 root wheel 238 18 fév 12:27 A
lrwxr-xr-x 1 root wheel 1 18 fév 12:27 Current -> A
lrwxr-xr-x 1 root wheel 59 18 fév 12:27 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

But Vassal still requires Java 6 to start.
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 12:25 pm

Oops. Sorry. Un-installing JDK is easy enough.
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 12:28 pm

% ls -l /System/Library/Frameworks/JavaVM.framework/Versions/A

total 72
drwxr-xr-x 44 root wheel 1496 18 fév 12:27 Commands
drwxr-xr-x 4 root wheel 136 5 jul 2012 Frameworks
-rwxr-xr-x 1 root wheel 103472 18 fév 12:27 JavaVM
drwxr-xr-x 42 root wheel 1428 18 fév 12:27 Resources
drwxr-xr-x 3 root wheel 102 18 fév 12:27 _CodeSignature

%ls -l /System/Library/Java/JavaVirtualMachines
[No listing]
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 12:32 pm

Thus spake gdaudin:
>
> %ls -l /System/Library/Frameworks/JavaVM.framework/Versions lrwxr-xr-x
> 1 root wheel 10 18 fév 12:27 1.4 -> CurrentJDK
> lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4.2 -> CurrentJDK
> lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5 -> CurrentJDK
> lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5.0 -> CurrentJDK
> lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6 -> CurrentJDK
> lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6.0 -> CurrentJDK
> drwxr-xr-x 7 root wheel 238 18 fév 12:27 A
> lrwxr-xr-x 1 root wheel 1 18 fév 12:27 Current -> A
> lrwxr-xr-x 1 root wheel 59 18 fév 12:27 CurrentJDK ->
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
>

This last symlink is wrong. What do you see when you do

ls -l /System/Library/Java/JavaVirtualMachines

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8844
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 12:34 pm

Thus spake gdaudin:
> Oops. Sorry. Un-installing JDK is easy enough.
>

No, don't do that. It will be easier if we do things one at a time.
--
J.
User avatar
uckelman
Site Admin
 
Posts: 8844
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 12:38 pm

Thus spake Joel Uckelman:
> --===============9154735030501337802==
> Content-Type: text/plain
>
> Thus spake gdaudin:
> >
> > %ls -l /System/Library/Frameworks/JavaVM.framework/Versions lrwxr-xr-x
> > 1 root wheel 10 18 fév 12:27 1.4 -> CurrentJDK
> > lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4.2 -> CurrentJDK
> > lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5 -> CurrentJDK
> > lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5.0 -> CurrentJDK
> > lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6 -> CurrentJDK
> > lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6.0 -> CurrentJDK
> > drwxr-xr-x 7 root wheel 238 18 fév 12:27 A
> > lrwxr-xr-x 1 root wheel 1 18 fév 12:27 Current -> A
> > lrwxr-xr-x 1 root wheel 59 18 fév 12:27 CurrentJDK ->
> > /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
> >
>
> This last symlink is wrong. What do you see when you do
>
> ls -l /System/Library/Java/JavaVirtualMachines
>

Also, show me:

ls -l /Library/Java/JavaVirtualMachines
--
J.
User avatar
uckelman
Site Admin
 
Posts: 8844
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 12:52 pm

ls -l /Library/Java/JavaVirtualMachines

gets me

total 0
drwxr-xr-x 3 root wheel 102 18 fév 13:17 jdk1.7.0_13.jdk
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 12:58 pm

Thus spake gdaudin:
> ls -l /Library/Java/JavaVirtualMachines
>
> gets me
>
> total 0
> drwxr-xr-x 3 root wheel 102 18 fév 13:17 jdk1.7.0_13.jdk

Ok. I think this is what you need to do, as root:

cd /System/Library/Frameworks/JavaVM.framework/Versions
rm CurrentJDK
ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents CurrentJDK

This changes the CurrentJDK link to point to the JDK 7 you just
installed.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8844
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 1:14 pm

Done.

%ls -l /System/Library/Frameworks/JavaVM.framework/Versions

now gives me :

total 64
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4.2 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5.0 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6.0 -> CurrentJDK
drwxr-xr-x 7 root wheel 238 18 fév 12:27 A
lrwxr-xr-x 1 root wheel 1 18 fév 12:27 Current -> A
lrwxr-xr-x 1 root wheel 58 18 fév 14:08 CurrentJDK -> /Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents

Vassal still requires Java 6 to start, though.
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 3:05 pm

What do you mean by "VASSAL still requires Java 6"? I don't understand what you're seeing.
User avatar
uckelman
Site Admin
 
Posts: 8844
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby mgringo » February 18th, 2013, 3:09 pm

gdaudin wrote:Done.

Vassal still requires Java 6 to start, though.


Which message do you receive, Guillaume?

Mine:

harpua:~ mgouker$ ls -l /Library/Java/JavaVirtualMachines
total 0

drwxrwxr-x 3 root wheel 102 Apr 20 2012 1.7.0.jdk

harpua:~ mgouker$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions
total 64
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.4 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.4.2 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.5 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.5.0 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.6 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.6.0 -> CurrentJDK
drwxr-xr-x 9 root wheel 306 Feb 16 19:34 A
lrwxr-xr-x 1 root wheel 1 Feb 16 08:43 Current -> A
lrwxr-xr-x 1 root wheel 52 Feb 16 09:50 CurrentJDK -> /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents

I also have:

harpua:~ mgouker$ ls /System/Library/Java/JavaVirtualMachines
1.6.0.jdk

Guillaume, if you use 1.7 JDK, please make sure you have Java (not javascript) off in your browser. There are security issues.

Guillaume, our jdks are a _little_ different (you are 13 builds ahead of me). Where did you get yours? From Oracle or the Open JDK project?

I have no problem starting Vassal - absolutely no error *executing* Vassal, however I still have bad graphic output. I execute Vassal from the Applications folder (not through a browser - can you still do that?).

Also, uekelman, I believe I have the same output on the screen as Guillaume in Vassal itself (i.e. no text on the counters). Please see attached image. Note that the Ottomans are on the rampage.

Warmest regards,

Michael
mgringo
 
Posts: 14
Joined: February 18th, 2013, 9:20 am

Re: Missing card and counter text

Postby mgringo » February 18th, 2013, 3:17 pm

mgringo
 
Posts: 14
Joined: February 18th, 2013, 9:20 am

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 3:19 pm

I was wondering Michael, do you know which version of Java Vassal is using ?

I got mine from Oracle : http://www.oracle.com/technetwork/java/ ... 80260.html

Here is the message I get from Vassal (in French, I am afraid) :

Best

Guillaume
Attachments
Mise à jour de logiciels-1.jpg
Mise à jour de logiciels-1.jpg (179.67 KiB) Viewed 3575 times
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby mgringo » February 18th, 2013, 4:40 pm

gdaudin wrote:I was wondering Michael, do you know which version of Java Vassal is using ?

I got mine from Oracle : http://www.oracle.com/technetwork/java/ ... 80260.html

Here is the message I get from Vassal (in French, I am afraid) :

Best

Guillaume


Guillaume, Vassal will use the Java it finds in its class path. That's why the links are important. A symbolic link points to the current VM. In your case, it will find jdk 7's libraries now. Do you just execute the Vassal App in the Applications folder?
mgringo
 
Posts: 14
Joined: February 18th, 2013, 9:20 am

PreviousNext

Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 2 guests