LWJGL
May 22, 2013, 09:59:22 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Help with Install i am desperet  (Read 3823 times)
profesora
Newbie
*
Posts: 4


« on: June 29, 2009, 05:15:28 »

Ok i start first with Dawnload the LWJGL 2.1 v



Then i open the JCreator LE and  crete new Progect

OK



Progect properties

and den i add the path from my DESCTOP



And when i create a new class and try to import  for example   


import org.lwjgl.BufferChecks;

i get the erorr   " package org.lwjgl does not exist"


PLS help me you are my final chans

i have ERORR some were but were

Logged
broumbroum
Prolific Timewaster
****
Posts: 316



WWW
« Reply #1 on: June 29, 2009, 06:46:09 »

Classpath looks into Folders and Jars for .class files. That is when adding a Folder (LWJGL/jar) it will attempt to load all .class files, but not .jar. Therefore you should try to set the required libraries with .jar files and not folders. Wink
Logged

Sf3JSwing project, code repo (Apache License) -  http://www.sourceforge.net/p/sf3jswing
Sf3jswing Project Forum - http://apps.sourceforge.net/phpbb/sf3jswing/
profesora
Newbie
*
Posts: 4


« Reply #2 on: June 30, 2009, 00:12:12 »

OK i made it  but for chek i try to compile one  Space Invader code 

 http://java-game-lib.svn.sourceforge.net/viewvc/java-game-lib/trunk/LWJGL/src/java/org/lwjgl/examples/spaceinvaders/Game.java?view=markup&content-type=text%2Fvnd.viewcvs-markup&pathrev=HEAD


but i have this eror in JCreator

Note: C:\Program Files\Xinox Software\JCreatorV3LE\MyProjects\Mixo\Game[1].java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Process completed.



What to do 
Logged
Matzon
Administrator
Demigod
*****
Posts: 2237



« Reply #3 on: June 30, 2009, 00:18:56 »

afaik, thats just a warning...
else add @SuppressWarning at the proper places
Logged

profesora
Newbie
*
Posts: 4


« Reply #4 on: June 30, 2009, 00:51:18 »

OK but i got this

Logged
Ciardhubh
Talks Too Much
***
Posts: 159


« Reply #5 on: June 30, 2009, 01:20:45 »

OK i made it  but for chek i try to compile one  Space Invader code 

...

but i have this eror in JCreator

Note: C:\Program Files\Xinox Software\JCreatorV3LE\MyProjects\Mixo\Game[1].java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Process completed.



What to do 

That's most likely because the class uses untyped ArrayLists. ArrayLists are generic containers and can be specified to only accept a certain class. It's a Java 1.5+ feature. If no type is specified the compiler generates this warning. Add a type where the warning occurs (e.g. ArrayList<SomeClass>) or ignore/suppress the warning. The former is usually preferable Wink

OK but i got this
...

Add -Djava.library.path=PATH_TO_YOUR_NATIVE_LWJGL_DLLS to the runtime parameters of you project.
Logged
profesora
Newbie
*
Posts: 4


« Reply #6 on: June 30, 2009, 01:36:36 »

Whit risk to became  annoying   

 I thing this is the RUN proparties

 


ok  i add  -Djava.library.path=C:\Documents and Settings\Limona\Desktop\lwjgl-2.1.0\lwjgl-2.1.0\native\windows

but nothing  maybe i have a  mistake  i actualy never work directly with a  classpath   only with IDE

what to do naw
Logged
Ciardhubh
Talks Too Much
***
Posts: 159


« Reply #7 on: June 30, 2009, 03:29:38 »

ok  i add  -Djava.library.path=C:\Documents and Settings\Limona\Desktop\lwjgl-2.1.0\lwjgl-2.1.0\native\windows

If you have spaces in your path, you have to enclose it in "", e.g.:
-Djava.library.path="C:\Documents and Settings\Limona\Desktop\lwjgl-2.1.0\lwjgl-2.1.0\native\windows"

I don't use JCreator so I don't really know if this is the right place. The parameter has to be passed to the VM, not your application. Since the classpath parameter is there, it looks like it's the right place.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!