Netbeans and Windows XP??

View: New views
7 Messages — Rating Filter:   Alert me  

Netbeans and Windows XP??

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Is it possible to build and compile Looking Glass applications with Netbeans using windows XP platform??
[Message sent by forum member 'sofi_01' (sofi_01)]

http://forums.java.net/jive/thread.jspa?messageID=257270

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Netbeans and Windows XP??

by Kirk Turner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes it is - have a look at
https://lg3d.dev.java.net/netbeans/NetBeansLookingGlass.html

It lists the requirements as Linux, but it works fine under windows -
but as mentioned elsewhere - you can't run the native applications
within LG3D on windows. Just follow the directions and apply the
appropriate path changes (e.g. / to \) and you should be fine.

I haven't worked with lg3d and netbeans under windows for a long time,
but if you get stuck you can ask here and I'll see what we can do.

Also it might be worth having a look at Plethora (there is a link from
the home page). I think its only compatible with older netbeans (maybe
5.5) but it might be worth looking at.

Kirk

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Netbeans and Windows XP??

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm new on Looking Glass projects. I have installed LG3D Project_1.0.0_beta1. It works fine, except any sounds. I tried to run Tutorial1 in netbeans(netbeans IDE 6.0 Beta2) using Windows XP. It compiles fine, but at runtime I get errors.
I have put lg3d-core.jar, java3d-1_5_2-build1-windows-i586 and JDK 1.6 in the library of project Tutorial1. So I guess I don't need to set any classpath. What more should I do or have I done anything wrong??



[u]The errors at runtime:[/u]

init:
deps-jar:
compile:
run:
06.feb.2008 10:04:20 org.jdesktop.lg3d.displayserver.LgConfig loadConfig
INFO: Loading config null
06.feb.2008 10:04:20 org.jdesktop.lg3d.displayserver.LgConfig loadConfig
INFO: Using default configuration
Exception in thread "main" java.lang.RuntimeException: EventProcessor not initialised
        at org.jdesktop.lg3d.displayserver.EventProcessor.processor(EventProcessor.java:104)
        at org.jdesktop.lg3d.displayserver.socketconnector.ClientHandler.initialize(ClientHandler.java:70)
        at org.jdesktop.lg3d.displayserver.AppConnectorPrivate.getAppConnector(AppConnectorPrivate.java:101)
        at org.jdesktop.lg3d.displayserver.AppConnectorPrivate.getAppConnector(AppConnectorPrivate.java:80)
        at org.jdesktop.lg3d.sg.SceneGraphSetup.getWidgetWrapperPackage(SceneGraphSetup.java:102)
        at org.jdesktop.lg3d.sg.SceneGraphObject.instantiate(SceneGraphObject.java:149)
        at org.jdesktop.lg3d.wg.Frame3D.createWrapped(Frame3D.java:176)
        at org.jdesktop.lg3d.sg.SceneGraphObject.<init>(SceneGraphObject.java:56)
        at org.jdesktop.lg3d.sg.Node.<init>(Node.java:204)
        at org.jdesktop.lg3d.sg.Group.<init>(Group.java:272)
        at org.jdesktop.lg3d.sg.BranchGroup.<init>(BranchGroup.java:60)
        at org.jdesktop.lg3d.wg.Component3D.<init>(Component3D.java:82)
        at org.jdesktop.lg3d.wg.Container3D.<init>(Container3D.java:56)
        at org.jdesktop.lg3d.wg.Frame3D.<init>(Frame3D.java:40)
        at tutorial1.Tutorial1.<init>(Tutorial1.java:65)
        at tutorial1.Tutorial1.main(Tutorial1.java:55)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)



Thanks!
[Message sent by forum member 'sofi_01' (sofi_01)]

http://forums.java.net/jive/thread.jspa?messageID=257964

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Netbeans and Windows XP??

by Kirk Turner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Feb 8, 2008 5:50 AM,  <lg3d@...> wrote:
> I'm new on Looking Glass projects. I have installed LG3D Project_1.0.0_beta1. It works fine, except any sounds.
What sound wasn't working? From the trumplayer app? I've not used it
so I can't comment, but I seem to remember there being some discussion
about it requiring another (native) library to run, which I'm not sure
is included for windows.

 I tried to run Tutorial1 in netbeans(netbeans IDE 6.0 Beta2) using
Windows XP. It compiles fine, but at runtime I get errors.
> I have put lg3d-core.jar, java3d-1_5_2-build1-windows-i586 and JDK 1.6 in the library of project Tutorial1. So I guess I don't need to set any classpath. What more should I do or have I done anything wrong??

The tutorial application cannot run outside of the lg3d, so running
the tutorial directly won't work (they have a main because they are
run by the lg3d). If you have a read of the online tutorials
https://lg3d.dev.java.net/tutorial/tutorial1.html  they'll guide you
through the last part of the process (from step 6 onwards) - which is
about packaging the tutorial so it can run within lg3d.

Kirk

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Netbeans and Windows XP??

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Even though i packed it as mentioned in tutorial and copied the jar file to $LG3DHOME/ext/app , I can't see the tutorial I
added to the taskbar in lg3d. But when I saved the 'Tutorial1.lgcfg' file, it is not saved as a xml-doc but as lgcfg-fil. And if I save
it as a xml-doc, the ending  will be 'Tutorial1.lgcfg.xml'. But there is no such problems in linux. Any suggestions??

Thanks!
[Message sent by forum member 'sofi_01' (sofi_01)]

http://forums.java.net/jive/thread.jspa?messageID=258920

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Netbeans and Windows XP??

by Kirk Turner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>  Even though i packed it as mentioned in tutorial and copied the jar file to $LG3DHOME/ext/app , I can't see the tutorial I
>  added to the taskbar in lg3d. But when I saved the 'Tutorial1.lgcfg' file, it is not saved as a xml-doc but as lgcfg-fil. And if I save
>  it as a xml-doc, the ending  will be 'Tutorial1.lgcfg.xml'. But there is no such problems in linux. Any suggestions??
The extension doesn't make it an xml document, its the content that
matters - so if you save it as Tutorial1.lgcfg it should work fine...
That said - have you had a look through the menus for the launcher? I
vaguely remember a change being made to put them in the menus by
default.

The other option is to try the packaging steps from Tutorial2 to put
them in the menu instead:

https://lg3d.dev.java.net/tutorial/tutorial2.html#step8

Kirk

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Netbeans and Windows XP??

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, I made it :) . I used packaging steps from Tutorial2. And I had to change the java version mentioned in lgcfg file.  But I didn't have any sucess with adding Plethora modules in netbeans :P. Now I'm trying to do my own application.
[Message sent by forum member 'sofi_01' (sofi_01)]

http://forums.java.net/jive/thread.jspa?messageID=259554

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...

LightInTheBox - Buy quality products at wholesale price!