Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

Please Read All Instructions Carefully First.

1. Changes:

  • Change the name of database file (BC00000.accdb) according to Your VU ID.
  • Open the Student.java and find and replace BC000000 with your VU ID.
  • Find this Code, Change the path of your database file. and change the name of DB file

        Connection con =  DriverManager.getConnection("jdbc:ucanaccess://F:/CS506/BC0000000.accdb");

2. Run:      

  • To run this just extract the solution files in drive E:,D:,F: etc not on Desktop.
  • open this folder and open cmd promote here.
  • In cmd pro first compile the all java files using javac Student.java
  • After compile run java Student class using java -cp F:\CS506\*;. Student
  • Also see the Video that given in Assignment

    

Good Luck



Views: 13956

Attachments:

Replies to This Discussion

@Muhammad Imran..

Ap ek e ID se record Bar Bar Save kar rahy ho...

BRO AB YE ERROR AYA HY

Attachments:

 E:\MIT\cs506>java -cp E:\mit\cs506\*;. student

Error: could not open `C:\Program Files\Java\jre1.8.0_151\lib\i386\jvm.cfg'

is ki kia waja he bhai

Java main error hai un install kar k again install karen...

i face this error when try to add a record. can u plz help me.

Attachments:

@MR.Baig Apne commands thek se nhi di ap video dekho ap ko samjha aa jye gi..

Mera Code run horha hy Net BEans main pr cmp main  ata hay error: Could not find or load main class Student

the code is running but when I am entering the data and click on add record button this error is shown
tell me the solution plz

@nina ap ne dataabase wali file ka name change kiya code man?

main video upload ki hai us ko dekho phir dubara se try karo....

ho jye ga..

@Imhum Ab ye code dakh k e pata chalye ga k kiya issue hai... wesy b ap netbeans se run kar k screen shot le lo or submit karna do koi issue nhi ho ga...

Exception in thread "main" java.lang.NoClassDefFoundError: StudentRecords (wrong name: StudentRecords/StudentRecords)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14 2)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

@Amna can u share Student.java file here? I will point out where is error

RSS

Looking For Something? Search Below

Latest Activity

Lindamalinskiy liked Mani Siddiqui's blog post اشک
5 hours ago
Lindamalinskiy liked Mani Siddiqui's blog post اشک
5 hours ago
Profile IconLindamalinskiy, shahzeel khan, Najwa Yaminah and 3 more joined Virtual University of Pakistan
5 hours ago
Najwa Yaminah replied to irshad kausar's discussion math
9 hours ago
Misha princess is now friends with Muhammad Sohaib Akhtar and Muhammad Umar daraz
12 hours ago
Abu Aden Bin Khalid replied to Sana Sunny ツ's discussion we need Chat box at ning
12 hours ago
Izhar Ahmad liked Mani Siddiqui's discussion تو نے دیکھا ہے کبھی
12 hours ago
Fatima khan posted a discussion
14 hours ago

© 2022   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service