Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 6
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 9102 times and has 5 replies Next Thread
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 548
Status: Offline
Reply to this Post  Reply with Quote 
Java version up to date

According to java.com they offer now version 8.
I've tested SH3D v4.6 & v5.0beta with java 6,7 and 8.
Empty or new plan are open correctly with jre1.8u45, but the previously created especially large one (>5M or >6M) don't show the menu, plan window, furniture window etc.
The 3D window are showed instantly and correct.
I think You can consider to switch to java v8 wile they don't offer support for older versions.
For me (under debian) is not necessarily a problem but for others.
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law
[Jul 12, 2015, 9:30:26 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Java version up to date

I wanted to update Sweet Home 3D to Java 8 too, and made some tests. Unfortunately, as soon as you set a texture on a room, the plan don't get repainted anymore and the Java console displays the following exception:
Exception in thread "AWT-EventQueue-0" java.lang.InternalError: Surface not cachable
at sun.java2d.xr.XRPaints$XRTexture.getAccSrcSurface(XRPaints.java:211)
at sun.java2d.xr.XRPaints$XRTexture.isPaintValid(XRPaints.java:224)
at sun.java2d.xr.XRPaints.isValid(XRPaints.java:75)
at sun.java2d.xr.XRSurfaceData.getMaskFill(XRSurfaceData.java:205)
at sun.java2d.SurfaceData.validatePipe(SurfaceData.java:631)
at sun.java2d.xr.XRSurfaceData.validatePipe(XRSurfaceData.java:123)
at sun.java2d.SunGraphics2D.validatePipe(SunGraphics2D.java:446)
at sun.java2d.pipe.ValidatePipe.validate(ValidatePipe.java:55)
at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:159)
at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2527)
at com.eteks.sweethome3d.swing.PlanComponent.fillShape(PlanComponent.java:2876)
at com.eteks.sweethome3d.swing.PlanComponent.paintRooms(PlanComponent.java:2834)
at com.eteks.sweethome3d.swing.PlanComponent.paintHomeItems(PlanComponent.java:2641)
at com.eteks.sweethome3d.swing.PlanComponent.paintContent(PlanComponent.java:2531)
at com.eteks.sweethome3d.swing.PlanComponent.paintComponent(PlanComponent.java:1873)
at javax.swing.JComponent.paint(JComponent.java:1056)

Hansmex reported to me that he encountered a similar problem which actually seems to match the following bug. As Oracle closed it because they couldn't reproduce it, I fear it's going to take a long time before Sweet Home 3D get delivered with a newer Java version under Linux! sad
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jul 16, 2015, 5:02:54 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Java version up to date

This issue should be fixed in the version 5.3.
Meanwhile, you can test the correction with the version 5.3 beta 7 available here.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Oct 20, 2016, 11:45:32 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 548
Status: Offline
Reply to this Post  Reply with Quote 
Re: Java version up to date

I've tested the 5.3 beta 7 and work.
I observe some latency in move items in 3D and in 2D.
I modify some things like memory, default furniture and some menu text but that not affect the general way of run.
I tray to have a "fresh" install:
-rename /home/[user]/.eteks/sweethome3d to sweethome3d-j7
-restart SweetHome3D-j8_112
-open a file which was previously open and save as Apartment-j8
-set the Preferences
--on 2D the texture of rooms not show but in 3D appear correctly
-close the program
-add all set of furniture, textures and plugins
-reopen the same file but no change, no texture for rooms in 2D
-revert to /home/[user]/.eteks/sweethome3d used with j7
-run SweetHome3D-j8_112 and Apartment-j8.sh3d -> All's OK .
In sweethome3d folder I have the work folder with about 44 temp files and about 49 Furniture-3-----.pref files.
I'm not very clear but hope You understand.
Dorin
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law
[Oct 24, 2016, 9:00:30 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Miker777
Advanced Member



UK
Joined: May 8, 2016
Post Count: 434
Status: Offline
Reply to this Post  Reply with Quote 
Re: Java version up to date

Hi
I have updated pc to java version 8 update 111 and have not noticed any issues with the new version of sh3d
[Oct 24, 2016, 11:00:35 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
dorin
Advanced Member
Member's Avatar

Romania
Joined: Apr 24, 2014
Post Count: 548
Status: Offline
Reply to this Post  Reply with Quote 
Re: Java version up to date

You're right!
It was my fault.
I forgot to set in preferences how to show the rooms.
Now it's all OK shhh
----------------------------------------
A computer program does what you tell it to do, not what you want it to do. Murphy's Law (Greer's Third Law)
When all else fails, read the instructions.Murphy's Law
[Oct 26, 2016, 8:10:02 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved